Revert "Fixed a few grammar issues."
This reverts commit 16ce41b7f4449d6df15df30d69aef18da6510f36.
Reason: See
16ce41b7f4 (commitcomment-14475125)
This commit is contained in:
parent
ce37df9cc1
commit
a951d5b093
@ -100,7 +100,7 @@ called key-based expiration.
|
||||
|
||||
Cache fragments will also be expired when the view fragment changes (e.g., the
|
||||
HTML in the view changes). The string of characters at the end of the key is a
|
||||
template tree digest. It is a md5 hash computed based on the contents of the
|
||||
template tree digest. It is an md5 hash computed based on the contents of the
|
||||
view fragment you are caching. If you change the view fragment, the md5 hash
|
||||
will change, expiring the existing file.
|
||||
|
||||
|
@ -723,7 +723,7 @@ $ bin/rails runner 'puts ActiveRecord::Base.configurations'
|
||||
|
||||
Here the connection information in `ENV['DATABASE_URL']` is ignored, note the different adapter and database name.
|
||||
|
||||
Since it is possible to embed ERB in your `config/database.yml` it is the best practice to explicitly show you are using the `ENV['DATABASE_URL']` to connect to your database. This is especially useful in production since you should not commit secrets like your database password into your source control (such as Git).
|
||||
Since it is possible to embed ERB in your `config/database.yml` it is best practice to explicitly show you are using the `ENV['DATABASE_URL']` to connect to your database. This is especially useful in production since you should not commit secrets like your database password into your source control (such as Git).
|
||||
|
||||
```
|
||||
$ cat config/database.yml
|
||||
|
Loading…
Reference in New Issue
Block a user