views:

24

answers:

1

Is that the usual convention? The more general constants in config/environment.rb, and more particular ones, such as HOST_NAME for development mode in config/environments/development.rb as localhost:3000, in config/environments/production.rb as www.mygreatwebsite.com, and they will automatically get included into the project?

+1  A: 

The config files test/production/development.rb are used when the rails application is started in one of these specific environments (test/production/development). The config.rb is used to define configuration which applies to all environments.

Lucho
what about environment.rb and files in environments folder?
動靜能量