mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #12388 from rkofman/master
Fixed grammatical typo in configuring.md guide.
This commit is contained in:
commit
f399538f99
1 changed files with 1 additions and 1 deletions
|
@ -528,7 +528,7 @@ Change the username and password in the `development` section as appropriate.
|
|||
|
||||
By default Rails ships with three environments: "development", "test", and "production". While these are sufficient for most use cases, there are circumstances when you want more environments.
|
||||
|
||||
Imagine you have a server which mirrors the production environment but is only used for testing. Such a server is commonly called a "staging server". To define an environment called "staging" for this server just by create a file called `config/environments/staging.rb`. Please use the contents of any existing file in `config/environments` as a starting point and make the necessary changes from there.
|
||||
Imagine you have a server which mirrors the production environment but is only used for testing. Such a server is commonly called a "staging server". To define an environment called "staging" for this server, just create a file called `config/environments/staging.rb`. Please use the contents of any existing file in `config/environments` as a starting point and make the necessary changes from there.
|
||||
|
||||
That environment is no different than the default ones, start a server with `rails server -e staging`, a console with `rails console staging`, `Rails.env.staging?` works, etc.
|
||||
|
||||
|
|
Loading…
Reference in a new issue