Environments in Rails

suggest change

Environment files live in config/environments/. A new app has development, test, and production. Editing one file changes only that environment.

config/application.rb holds shared settings. A setting in an environment file overrides the same setting from application.rb.

Put settings in the Rails.application.configure block. They are attributes of config.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents