rake db:create:all

This link:
describes rake db:create:all as follows:

rake db:create[:all]: If :all not specified then create the database
defined in config/database.yml for the current RAILS_ENV. If :all is
specified then create all of the databases defined in

I really still didn't get the difference between having :all or not? Can
you just clarify a bit? Especially that database.yml will already have


Normally in database.yml you define the development, production and
test databases. If all is specified then it creates all of these. If
not then it will just create the db for the default environment
(usually development) or for whichever RAILS_ENV is set to.


Colin Law wrote: