Is there a way to determine whether all migrations have been run?
ActiveRecord::Migrator.get_all_versions only returns the migrations
run (but not the ones not yet run).
Thx Clemens
Is there a way to determine whether all migrations have been run?
ActiveRecord::Migrator.get_all_versions only returns the migrations
run (but not the ones not yet run).
Thx Clemens
On Nov 13, 7:07 am, Clemens [email protected] wrote:
Is there a way to determine whether all migrations have been run?
ActiveRecord::Migrator.get_all_versions only returns the migrations
run (but not the ones not yet run).
just scanning throught the source,
ActiveRecord::Migrator.new.pending_migrations looks promising.
Fred
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