diff options
author | ta1kt0me <p.wadachi@gmail.com> | 2016-06-02 23:59:00 +0900 |
---|---|---|
committer | ta1kt0me <p.wadachi@gmail.com> | 2016-06-02 23:59:00 +0900 |
commit | e51eb806f60c8d6997a7fb038708dcc619a3eebf (patch) | |
tree | f0bc78fb0d18814900bc8fd8245824237efd7e71 /railties | |
parent | 7b75ca100de247a40c78da89e28f4d71e0635b95 (diff) | |
download | rails-e51eb806f60c8d6997a7fb038708dcc619a3eebf.tar.gz rails-e51eb806f60c8d6997a7fb038708dcc619a3eebf.tar.bz2 rails-e51eb806f60c8d6997a7fb038708dcc619a3eebf.zip |
Display railtie class name in `rails initializers`
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/tasks/initializers.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/tasks/initializers.rake b/railties/lib/rails/tasks/initializers.rake index 2968b5cb53..7e741bc5df 100644 --- a/railties/lib/rails/tasks/initializers.rake +++ b/railties/lib/rails/tasks/initializers.rake @@ -1,6 +1,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 + puts "#{initializer.instance_variable_get(:@context).class} #{initializer.name.inspect}" end end |