diff options
author | Eileen M. Uchitelle <eileencodes@users.noreply.github.com> | 2018-09-09 15:20:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-09 15:20:44 -0400 |
commit | 101096e5421d93b02d9df284385cf305db81cd1f (patch) | |
tree | 5348a25cb988b4f8ea715dcbddfaa0428a3784ae /guides | |
parent | 9d848d8545e2f0159d2fcee21fdfbaa1421d1489 (diff) | |
parent | 0a6aa42e029a18fb6aebd40da7eb33bcb39614b4 (diff) | |
download | rails-101096e5421d93b02d9df284385cf305db81cd1f.tar.gz rails-101096e5421d93b02d9df284385cf305db81cd1f.tar.bz2 rails-101096e5421d93b02d9df284385cf305db81cd1f.zip |
Merge pull request #33825 from bogdanvlviv/follow-up-33637-and-33770
Follow up #33637 and #33770
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/configuring.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index 8c95187fa4..c2ec5b8994 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -954,7 +954,7 @@ The only way to explicitly not use the connection information in `ENV['DATABASE_ ``` $ cat config/database.yml development: - url: sqlite3://NOT_my_database + url: sqlite3:NOT_my_database $ echo $DATABASE_URL postgresql://localhost/my_database @@ -966,8 +966,8 @@ $ rails runner 'puts ActiveRecord::Base.configurations.inspect' #<ActiveRecord::DatabaseConfigurations:0x00007fc8eab02880 @configurations=[ #<ActiveRecord::DatabaseConfigurations::UrlConfig:0x00007fc8eab020b0 @env_name="development", @spec_name="primary", - @config={"adapter"=>"sqlite3", "database"=>"NOT_my_database", "host"=>"localhost"} - @url="sqlite3://NOT_my_database"> + @config={"adapter"=>"sqlite3", "database"=>"NOT_my_database"} + @url="sqlite3:NOT_my_database"> ] ``` |