method

perform

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: ConsoleCommand
perform() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/commands/console/console_command.rb, line 90
      def perform
        extract_environment_option_from_argument

        # RAILS_ENV needs to be set before config/application is required.
        ENV["RAILS_ENV"] = options[:environment]

        require_application_and_environment!
        Rails::Console.start(Rails.application, options)
      end
Register or log in to add new notes.