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
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs