I was able to find some docs in apidoc.com but can't tell what exactly helper
does.
helper_method
seems more straight forward: to make some or all of the controller's methods available for use to the View. What about helper
? Is it to do the other way around: import helper methods in a file or in a Module? (Maybe the name helper
and helper_method
are kind of alike... instead of share_methods_with_view
and import_methods_from_view
)
reference: http://apidock.com/rails/ActionController/Helpers/ClassMethods/helper