rake -T db
to see all rake tasks having the name 'db' in it
example: rake db:create
rake db:migrate
rake -D db
to print out detail description for the tasks having the name 'db' in it
rake --help
to show the rake help messagecheat sheets.
$ command line ruby cheat sheets