Rails Environments - Ruby on Rails Plugins
Rails Environments Plugin

Plugin Details

      This one’s simple. Sometimes I need to know what environment Rails is running in (for example, so I can display additional debugging information, or not link to the HTTPS version of an action), and typing out ENV['RAILS_ENV'] is a hassle and looks ugly. Hence, this plugin.

Install Rails Environments Plugin

ruby script/plugin install http://svn.codahale.com/rails_environments/trunk/