Flowdock
method

environment

Importance_0
v4.0.2 - Show latest stable - 0 notes - Class: Rails::DBConsole
environment() 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/dbconsole.rb, line 95
    def environment
      if Rails.respond_to?(:env)
        Rails.env
      else
        ENV["RAILS_ENV"] || ENV["RACK_ENV"] || "development"
      end
    end
Register or log in to add new notes.