Skip to content

Commit a086af7

Browse files
ryanorejohndmulhausen
authored andcommitted
rails.md: change the database.yml in the example (docker#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.
1 parent 82acde4 commit a086af7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compose/rails.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Replace the contents of `config/database.yml` with the following:
122122
development: &default
123123
adapter: postgresql
124124
encoding: unicode
125-
database: postgres
125+
database: myapp_development
126126
pool: 5
127127
username: postgres
128128
password:

0 commit comments

Comments
 (0)