aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/tasks/initializers.rake
blob: 6522f2ae5a92f1461dbbbf5f79d405c261aa0d7f (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.context_class}.#{initializer.name}"
  end
end