I\'m getting a NoMethodError when trying to access a method defined in one of my helper modules from one of my controller classes. My Rails application uses the
NoMethodError
Any helper can be accessed using @template variable in the controller.
@template.my_super_helper
It is probably cleaner to use the helpers method:
class FooController < ActionController::Base def action self.class.helpers.helper_method arg end end