aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2013-10-14 19:05:59 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2013-10-14 19:05:59 -0700
commitb64c886483e3ad2dc92bf54510cd481f9124fb69 (patch)
treebe8d358d6009dc28ac87ae838df3abfd44ed759b /lib/arel
parentbd6adc877af4687aec636f08e96e19785eea209d (diff)
downloadrails-b64c886483e3ad2dc92bf54510cd481f9124fb69.tar.gz
rails-b64c886483e3ad2dc92bf54510cd481f9124fb69.tar.bz2
rails-b64c886483e3ad2dc92bf54510cd481f9124fb69.zip
fix one deprecation warning
Diffstat (limited to 'lib/arel')
-rw-r--r--lib/arel/visitors/to_sql.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/visitors/to_sql.rb b/lib/arel/visitors/to_sql.rb
index 4e1f7ab466..b61d5f7acd 100644
--- a/lib/arel/visitors/to_sql.rb
+++ b/lib/arel/visitors/to_sql.rb
@@ -90,7 +90,7 @@ module Arel
warn(<<-eowarn) if $VERBOSE
(#{caller.first}) Using UpdateManager without setting UpdateManager#key is
deprecated and support will be removed in Arel 4.0.0. Please set the primary
-key on UpdateManager using UpdateManager#key=
+key on UpdateManager using UpdateManager#key= '#{key.inspect}'
eowarn
key = o.relation.primary_key
end