Return the currently selected environment. By default, it returns the value of the RAILS_ENV constant.
# File initializer.rb, line 536 def environment ::RAILS_ENV end
<code/>
<pre/>
<code/>and<pre/>for code samples.