rake migrate -- which db affected?

That would be nice but unfortunately rake tasks cannot take command line arguments like that. THats why you have to use the RAILS_ENV hack.

-Ezra