Is there a rake task that shows the pending migrations in a rails app?
Try rake -h (help) and have a look at rake -n (= rake --dry-run). So probably something like rake -n db:migrate should get you what you want.