Joined May 2011
·
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
Altruist
Increase developer well-being by sharing at least 20 open source projects
Komodo Dragon
Have at least one original repo where Java is the dominant language
Forked
Have a project valued enough to be forked by someone else
Ashcat
Make Ruby on Rails better for everyone by getting a commit accepted
Epidexipteryx
Have at least one original repo where C++ is the dominant language
Charity
Fork and commit to someone's open source project in need
Mongoose 3
Have at least three original repos where Ruby is the dominant language
Mongoose
Have at least one original repo where Ruby is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
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