From b64c886483e3ad2dc92bf54510cd481f9124fb69 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Mon, 14 Oct 2013 19:05:59 -0700 Subject: fix one deprecation warning --- lib/arel/visitors/to_sql.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/arel') 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 -- cgit v1.2.3