Migrations: Generate SQL instead of running the migration?

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


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs