From 35870148b6b71b5b77c90fbbd1ac66b5882121f1 Mon Sep 17 00:00:00 2001 From: Eileen Uchitelle Date: Tue, 4 Sep 2018 15:51:10 -0400 Subject: Remove unused block This method used to take a block, but that's no longer the case so we can delete the block from the method signature. --- activerecord/lib/active_record/database_configurations.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/database_configurations.rb b/activerecord/lib/active_record/database_configurations.rb index 64dd972a47..a94f46d07f 100644 --- a/activerecord/lib/active_record/database_configurations.rb +++ b/activerecord/lib/active_record/database_configurations.rb @@ -32,7 +32,7 @@ module ActiveRecord # the returned list. Most of the time we're only iterating over the write # connection (i.e. migrations don't need to run for the write and read connection). # Defaults to +false+. - def configs_for(env_name: nil, spec_name: nil, include_replicas: false, &blk) + def configs_for(env_name: nil, spec_name: nil, include_replicas: false) configs = env_with_configs(env_name) unless include_replicas -- cgit v1.2.3