Migrations - determine all available migration (files)

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