> If I want to look up the available Rake command syntax, where do I > go to > find it?
$ rake -T http://guides.rubyonrails.org/command_line.html#rake-is-ruby-make vendor/rails/railties/lib/tasks/*.rake > > 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. That's about as good as it's gonna get. Depending on the shell you can do RAILS_ENV=production rake db:migrate Not a whole heck of a lot shorter though. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

