aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2016-07-17 22:12:02 +0900
committerRyuta Kamizono <kamipo@gmail.com>2016-07-18 03:48:38 +0900
commitdad95ba68c6a8213f5896ed79cc0bf7f9a437de3 (patch)
tree81549b4d14fd0f829af760a11b2e4f47556408e9 /activerecord
parent849f79671b9efc014dddaa87b9f83844859e339e (diff)
downloadrails-dad95ba68c6a8213f5896ed79cc0bf7f9a437de3.tar.gz
rails-dad95ba68c6a8213f5896ed79cc0bf7f9a437de3.tar.bz2
rails-dad95ba68c6a8213f5896ed79cc0bf7f9a437de3.zip
`specificiation_id` was renamed to `spec_name`
Diffstat (limited to 'activerecord')
-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 1d9579f1a8..57e62cda9f 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