If I want to look up the available Rake command syntax, where do I go to
find it?
For example, if I want to look up the syntax of a Rails command I can
find it at:
I can even look up the core Rake api at:
What I can’t find is documentation of indivdual core Rails Rake tasks.
For example, I’ve been trying to find out if there is a better way for
me to use the rake db:migration task. I’ve always used
rake environment RAILS_ENV=production db:migrate
to migrate my production database and that always seems verbose to me.
However, as I can’t find an api or other document (or even where the
code that is run when you run the db:migration task), I have to rely on
google searches to see what other people are using.
Can someone please point me in the right direction.