class Rails::Console::ControllerInstance

Public Instance Methods

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

# File railties/lib/rails/commands/console/irb_console.rb, line 25
def execute
  @controller ||= ApplicationController.new
end