Flowdock
method

environment

Importance_0
Ruby on Rails latest stable (v4.2.1) - 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 107
    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.