aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/core.rb
diff options
context:
space:
mode:
authorArthur Neves <arthurnn@gmail.com>2016-05-06 13:22:49 -0500
committerArthur Neves <arthurnn@gmail.com>2016-05-06 13:22:49 -0500
commit22a127c57baa533498124e1650d00fb780618ed2 (patch)
treecfd32b870f122a015c6817fc28f35ae73d486470 /activerecord/lib/active_record/core.rb
parent598e7c9e2004b85146386571372423020ba7c52a (diff)
downloadrails-22a127c57baa533498124e1650d00fb780618ed2.tar.gz
rails-22a127c57baa533498124e1650d00fb780618ed2.tar.bz2
rails-22a127c57baa533498124e1650d00fb780618ed2.zip
s/specification_name/connection_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 4abe25e5b7..f936e865e4 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_name)
+ if Base == self || connection_handler.retrieve_connection_pool(connection_specification_name)
self
else
superclass.arel_engine