class Rails::Application
def migration_railties # :nodoc:
+railties_order+.
copying migrations from railties ; we need them in the order given by
While running initializers we need engines in reverse order here when
and the order specified by the +railties_order+ config.
Return an array of railties respecting the order they're loaded
def migration_railties # :nodoc: ordered_railties.flatten - [self] end