Method: Rails::Application#migration_railties

Defined in:
railties/lib/rails/application.rb

#migration_railtiesObject

Return an array of railties respecting the order they’re loaded and the order specified by the railties_order config.

While running initializers we need engines in reverse order here when copying migrations from railties ; we need them in the order given by railties_order.



535
536
537
# File 'railties/lib/rails/application.rb', line 535

def migration_railties # :nodoc:
  ordered_railties.flatten - [self]
end