3 Rake commands

Not for me. The 3 most important Rake commands in a Ruby on Rails application are:

rake db:drop
rake db:create
rake db:migrate

First command drops the database. Second command creates the database. Third command runs all migrations and creates basically the schema. This is incredible useful.

One thought on “3 Rake commands

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s