Easily build a great vocabulary without studying! Now on the App Store!
Click here for more info about the app
The best place to keep application constants which are environment specific is in config/environments directory. For instance...
...will set the APP_DOMAIN constant to either "localhost" or "real-domain.com" depending on which environment Rails boots up.
APP_DOMAIN = "localhost"
APP_DOMAIN = "real-domain.com"