Sha256: f2029f78719aa0dbf1b0ec73fcbb76a206d977239d486014a038d8e4102050bb

Contents?: true

Size: 214 Bytes

Versions: 35

Compression:

Stored size: 214 Bytes

Contents

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

Version data entries

35 entries across 35 versions & 4 rubygems

Version Path
railties-5.0.7.2 lib/rails/tasks/initializers.rake
railties-5.0.7.1 lib/rails/tasks/initializers.rake
railties-5.0.7 lib/rails/tasks/initializers.rake
railties-5.0.6 lib/rails/tasks/initializers.rake
railties-5.0.6.rc1 lib/rails/tasks/initializers.rake
railties-5.0.5 lib/rails/tasks/initializers.rake
railties-5.0.5.rc2 lib/rails/tasks/initializers.rake
railties-5.0.5.rc1 lib/rails/tasks/initializers.rake
railties-5.0.4 lib/rails/tasks/initializers.rake
railties-5.0.4.rc1 lib/rails/tasks/initializers.rake
railties-5.0.3 lib/rails/tasks/initializers.rake
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/railties-5.0.2/lib/rails/tasks/initializers.rake
railties-5.0.2 lib/rails/tasks/initializers.rake
railties-5.0.2.rc1 lib/rails/tasks/initializers.rake
autocompl-0.2.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/tasks/initializers.rake
autocompl-0.2.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/tasks/initializers.rake
autocompl-0.2.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/tasks/initializers.rake
autocompl-0.1.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/tasks/initializers.rake
autocompl-0.1.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/tasks/initializers.rake
autocompl-0.1.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/railties-5.0.1/lib/rails/tasks/initializers.rake