I see both in examples when checking what env one is running in. What\'s preferred? Are they, for all intents and purposes equal?
Strange behaviour while debugging my app: require "active_support/notifications" (rdb:1) p ENV['RAILS_ENV'] "test" (rdb:1) p Rails.env "development"
I would say that you should stick to one or another (and preferably Rails.env)