aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2016-07-20 00:51:38 -0300
committerGitHub <noreply@github.com>2016-07-20 00:51:38 -0300
commitb72674098b254a2497dafd3cf1c6a641ddc5257b (patch)
treecc932b41deff2aae05167a85b39f2e4f9940e315 /activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb
parent82b04fc6093525b8d958805cd8c8286bc62accbf (diff)
parentdad95ba68c6a8213f5896ed79cc0bf7f9a437de3 (diff)
downloadrails-b72674098b254a2497dafd3cf1c6a641ddc5257b.tar.gz
rails-b72674098b254a2497dafd3cf1c6a641ddc5257b.tar.bz2
rails-b72674098b254a2497dafd3cf1c6a641ddc5257b.zip
Merge pull request #25869 from kamipo/specificiation_id_was_renamed_to_spec_name
`specificiation_id` was renamed to `spec_name`
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb')
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb b/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb
index 5acc6e7008..dc5b305843 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb
@@ -896,7 +896,7 @@ module ActiveRecord
# for (not necessarily the current class).
def retrieve_connection(spec_name) #:nodoc:
pool = retrieve_connection_pool(spec_name)
- raise ConnectionNotEstablished, "No connection pool with id '#{spec_name}' found." unless pool
+ raise ConnectionNotEstablished, "No connection pool with '#{spec_name}' found." unless pool
conn = pool.connection
raise ConnectionNotEstablished, "No connection for '#{spec_name}' in connection pool" unless conn
conn