Migrations: Generate SQL instead of running the migration?

In a Rails migration is there a way to see what the generated SQL would
be
without running the migration?
(A bit like we can do with Arel now by writing Model.where(:id =>
5).to_sql
)

William