public Method

Configuration.environment

Return the currently selected environment. By default, it returns the value of the RAILS_ENV constant.

Source Code

# File initializer.rb, line 536
def environment
  ::RAILS_ENV
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.