Skip to Content Skip to Search

class Rails::Console::ControllerInstance

Inherits From

Public instance methods

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

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

Definition files