To use helper methods in controllers, instead of... pluralize( num, 'day' ) Use view_context.pluralize( num, 'day' )
cheat sheets.
$ command line ruby cheat sheets$ command line ruby cheat sheetsTo use helper methods in controllers, instead of... pluralize( num, 'day' ) Use view_context.pluralize( num, 'day' )