Sha256: aef0b4d2527c0bc7aaab9df727821b9b31c1b007bfa57bff2de586aeb30b62d5

Contents?: true

Size: 279 Bytes

Versions: 42

Compression:

Stored size: 279 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

42 entries across 42 versions & 3 rubygems

Version Path
railties-5.2.8.1 lib/rails/tasks/initializers.rake
railties-5.2.8 lib/rails/tasks/initializers.rake
railties-5.2.7.1 lib/rails/tasks/initializers.rake
railties-5.2.7 lib/rails/tasks/initializers.rake
railties-5.2.6.3 lib/rails/tasks/initializers.rake
railties-5.2.6.2 lib/rails/tasks/initializers.rake
railties-5.2.6.1 lib/rails/tasks/initializers.rake
railties-5.2.6 lib/rails/tasks/initializers.rake
railties-5.2.4.6 lib/rails/tasks/initializers.rake
railties-5.2.5 lib/rails/tasks/initializers.rake
railties-5.2.4.5 lib/rails/tasks/initializers.rake
railties-5.2.4.4 lib/rails/tasks/initializers.rake
railties-5.2.4.3 lib/rails/tasks/initializers.rake
railties-5.2.4.2 lib/rails/tasks/initializers.rake
railties-5.2.4.1 lib/rails/tasks/initializers.rake
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/railties-5.2.3/lib/rails/tasks/initializers.rake
railties-5.2.4 lib/rails/tasks/initializers.rake
railties-5.2.4.rc1 lib/rails/tasks/initializers.rake
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/railties-5.2.3/lib/rails/tasks/initializers.rake
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/railties-5.2.3/lib/rails/tasks/initializers.rake