class method self.startup_lines

Ruby on Rails edge

Since edge

Signature

self.startup_lines(sandbox)

No documentation comment.

Parameters

sandbox req
Source
# File railties/lib/rails/commands/console/console_command.rb, line 34
    def self.startup_lines(sandbox)
      lines = if sandbox
        ["Loading #{Rails.env} environment in sandbox (Rails #{Rails.version})",
         "Any modifications you make will be rolled back on exit"]
      else
        ["Loading #{Rails.env} environment (Rails #{Rails.version})"]
      end
      lines << HELP_HINT
    end

Defined in railties/lib/rails/commands/console/console_command.rb line 34 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Rails::Console

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close