Class: Rails::Console::ControllerInstance
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
RailsHelperBase ,
IRB::HelperMethod::Base
|
|
Instance Chain:
self,
RailsHelperBase ,
IRB::HelperMethod::Base
|
|
Inherits: |
Rails::Console::RailsHelperBase
|
Defined in: | railties/lib/rails/commands/console/irb_console.rb |
Instance Method Summary
-
#execute
This method assumes an
::Rails::ApplicationController
exists, and that it extends::ActionController::Base
.
Instance Method Details
#execute
This method assumes an ::Rails::ApplicationController
exists, and that it extends ::ActionController::Base
.
# File 'railties/lib/rails/commands/console/irb_console.rb', line 24
def execute @controller ||= ApplicationController.new end