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?
views:
24answers:
1
+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
2010-10-26 21:48:30
what about environment.rb and files in environments folder?
動靜能量
2010-10-27 17:04:55