I was wondering what the best practice is for determining whether you’re
rails app is on a qa server or on the production server.
Here’s the scenario:
I have some google analytics scripts that I want to be activated only
the production server. I have a QA server which I run in production
for testing purposes so I can’t use the RAILS_ENV as the test. I was
thinking of just setting another ENV variable, but don’t know if that’s
best way… Is there a better way?