Don't rely on ENV['RAILS_ENV']