aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/tasks/initializers.rake
blob: 2968b5cb53c8b04fecda9d7e6e13eaf01cdd2c7e (plain) (blame)
1
2
3
4
5
6
desc "Print out all defined initializers in the order they are invoked by Rails."
task initializers: :environment do
  Rails.application.initializers.tsort_each do |initializer|
    puts initializer.name
  end
end