instance method
helper
Ruby on Rails 7.1.6
Since v3.2.22.5 Last seen in v7.1.6Signature
helper()
Gets the helper methods available to the controller.
This method assumes an ApplicationController exists, and that it extends ActionController::Base.
Source
# File railties/lib/rails/console/helpers.rb, line 8
def helper
ApplicationController.helpers
end
Defined in railties/lib/rails/console/helpers.rb line 8
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::ConsoleMethods