Joined May 2011
·

Paul Morganthall

Fuzzy Thinking Software
·
Boston
·
·

Posted to Rake task list in Rails over 1 year ago

Good catch. the --all (-A) switch was added in Rake 10. Also my arguments weren't ordered correctly. Since the --tasks switch takes an argument, the command should look like this:
rake -T db -A

Posted to Rake task list in Rails over 1 year ago

One refinement... if you want to see all of the db commands, you need to add -A.

rake -T -A db

More explanation:
http://stackoverflow.com/questions/3951514/why-is-rake-dbmigratereset-not-listed-in-rake-t

Achievements
93 Karma
0 Total ProTip Views