Class: Rails::Console::ControllerHelper

Inherits:
RailsHelperBase
  • Object
show all
Defined in:
lib/rails/commands/console/irb_console.rb

Instance Method Summary collapse

Methods included from Rails::ConsoleMethods

include, method_added, raise_deprecation_warning

Instance Method Details

#executeObject

This method assumes an ApplicationController exists, and that it extends ActionController::Base.



16
17
18
# File 'lib/rails/commands/console/irb_console.rb', line 16

def execute
  ApplicationController.helpers
end