From a086af7a8bfa1e8f04f3ab5d7b4e61bc8538239b Mon Sep 17 00:00:00 2001 From: Ryan Ore Date: Tue, 29 Nov 2016 15:50:01 -0600 Subject: [PATCH] rails.md: change the database.yml in the example (#701) In this example, database.yml uses the default value of `postgres` for the `database` key. The database postgres is normally not used for user data, but for administrative purposes. This means people following this example will not be able to drop the database, and in general it's just not a great idea. --- compose/rails.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose/rails.md b/compose/rails.md index 8061bbcac0..217b661dd9 100644 --- a/compose/rails.md +++ b/compose/rails.md @@ -122,7 +122,7 @@ Replace the contents of `config/database.yml` with the following: development: &default adapter: postgresql encoding: unicode - database: postgres + database: myapp_development pool: 5 username: postgres password: