From ce91efed652bbcec42dbc68e421f717fb2ecc9b8 Mon Sep 17 00:00:00 2001 From: kei Date: Wed, 22 Jan 2014 22:13:38 +0900 Subject: [PATCH] Remove duplicate merge --- activerecord/lib/active_record/relation.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/activerecord/lib/active_record/relation.rb b/activerecord/lib/active_record/relation.rb index 17af887abc..fb213dc6f7 100644 --- a/activerecord/lib/active_record/relation.rb +++ b/activerecord/lib/active_record/relation.rb @@ -535,7 +535,6 @@ module ActiveRecord } binds = Hash[bind_values.find_all(&:first).map { |column, v| [column.name, v] }] - binds.merge!(Hash[bind_values.find_all(&:first).map { |column, v| [column.name, v] }]) Hash[equalities.map { |where| name = where.left.name