From: fg Date: 2006-07-12T13:50:06+09:00 Subject: Re: Check Development vs. Production Blazer wrote: > Is there a way to determine (global variable) to determine whether I'm > running rails in development or production within an application? > > Thanks in advance ... > > DC - Any day above ground is a good day! Can check ENV['RAILS_ENV'] which contains either 'development', 'test', 'production'. Francois