aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Nogueira Neves <github@arthurnn.com>2015-10-05 23:05:15 -0400
committerArthur Nogueira Neves <github@arthurnn.com>2015-10-05 23:05:15 -0400
commit31eb88c71d044833064c9d6cd3f79711f938ed84 (patch)
treeef6fe67da3f4867c17b213ba8f21e150e0718269
parent44ae2ef8c4f24340881c5015b35ebf43ddda5089 (diff)
parentef3319ff20a11d32f65cd523c99a485f729c7176 (diff)
downloadrails-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.rb2
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