Class: Rails::Console::ControllerInstance
- Inherits:
-
RailsHelperBase
- Object
- IRB::HelperMethod::Base
- RailsHelperBase
- Rails::Console::ControllerInstance
- Defined in:
- lib/rails/commands/console/irb_console.rb
Instance Method Summary collapse
-
#execute ⇒ Object
This method assumes an
ApplicationController
exists, and that it extends ActionController::Base.
Methods included from Rails::ConsoleMethods
include, method_added, raise_deprecation_warning
Instance Method Details
#execute ⇒ Object
This method assumes an ApplicationController
exists, and that it extends ActionController::Base.
25 26 27 |
# File 'lib/rails/commands/console/irb_console.rb', line 25 def execute @controller ||= ApplicationController.new end |