Environments in Rails
suggest changeEnvironment 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.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents