aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/core.rb
diff options
context:
space:
mode:
authorArthur Neves <arthurnn@gmail.com>2016-05-05 15:25:08 -0500
committerArthur Neves <arthurnn@gmail.com>2016-05-05 15:39:27 -0500
commit598e7c9e2004b85146386571372423020ba7c52a (patch)
treed9749f43554c60008fe0fb3888c332356d0ef781 /activerecord/lib/active_record/core.rb
parent34856ba9fa893bd1483ca5b08b65562cd5c02c58 (diff)
downloadrails-598e7c9e2004b85146386571372423020ba7c52a.tar.gz
rails-598e7c9e2004b85146386571372423020ba7c52a.tar.bz2
rails-598e7c9e2004b85146386571372423020ba7c52a.zip
s/specification_id/specification_name
Diffstat (limited to 'activerecord/lib/active_record/core.rb')
-rw-r--r--activerecord/lib/active_record/core.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/core.rb b/activerecord/lib/active_record/core.rb
index 291cabb4bb..4abe25e5b7 100644
--- a/activerecord/lib/active_record/core.rb
+++ b/activerecord/lib/active_record/core.rb
@@ -257,7 +257,7 @@ module ActiveRecord
# Returns the Arel engine.
def arel_engine # :nodoc:
@arel_engine ||=
- if Base == self || connection_handler.retrieve_connection_pool(specification_id)
+ if Base == self || connection_handler.retrieve_connection_pool(specification_name)
self
else
superclass.arel_engine