[Rails] How to determine whether dev,test or prod from the code

Don Mc
Wed, 26 Jul 2006 21:03:02 -0000

When in a controller, how would I determine which
environment I am currently running in? (Development,Test,Production)

Thanks,
Don Mc

--
Posted via http://www.ruby-forum.com/.