Method: Rails::Console::ControllerInstance#execute
- Defined in:
- railties/lib/rails/commands/console/irb_console.rb
#execute ⇒ Object
This method assumes an ApplicationController exists, and that it extends ActionController::Base.
24 25 26 |
# File 'railties/lib/rails/commands/console/irb_console.rb', line 24 def execute @controller ||= ApplicationController.new end |