diff options
author | Arthur Nogueira Neves <github@arthurnn.com> | 2015-10-05 23:05:15 -0400 |
---|---|---|
committer | Arthur Nogueira Neves <github@arthurnn.com> | 2015-10-05 23:05:15 -0400 |
commit | 31eb88c71d044833064c9d6cd3f79711f938ed84 (patch) | |
tree | ef6fe67da3f4867c17b213ba8f21e150e0718269 | |
parent | 44ae2ef8c4f24340881c5015b35ebf43ddda5089 (diff) | |
parent | ef3319ff20a11d32f65cd523c99a485f729c7176 (diff) | |
download | rails-31eb88c71d044833064c9d6cd3f79711f938ed84.tar.gz rails-31eb88c71d044833064c9d6cd3f79711f938ed84.tar.bz2 rails-31eb88c71d044833064c9d6cd3f79711f938ed84.zip |
Merge pull request #21877 from amitsuroliya/unused_block_argument
Remove unused block argument
-rw-r--r-- | activerecord/lib/active_record/railtie.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/railtie.rb b/activerecord/lib/active_record/railtie.rb index 6dd54f9262..2744673c12 100644 --- a/activerecord/lib/active_record/railtie.rb +++ b/activerecord/lib/active_record/railtie.rb @@ -121,7 +121,7 @@ module ActiveRecord # This sets the database configuration from Configuration#database_configuration # and then establishes the connection. - initializer "active_record.initialize_database" do |app| + initializer "active_record.initialize_database" do ActiveSupport.on_load(:active_record) do self.configurations = Rails.application.config.database_configuration |