Call .production? on the environment, not on Rails itself