From 0e957e05acc8bd53a42d53bf94d6cd4f2441737a Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 30 Jul 2010 10:08:47 -0700 Subject: better tests for Where construction, removing Where#== --- lib/arel/algebra/relations/operations/where.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lib/arel') diff --git a/lib/arel/algebra/relations/operations/where.rb b/lib/arel/algebra/relations/operations/where.rb index 3b70b49f3a..d851aebc44 100644 --- a/lib/arel/algebra/relations/operations/where.rb +++ b/lib/arel/algebra/relations/operations/where.rb @@ -12,13 +12,6 @@ module Arel @wheres ||= relation.wheres + predicates end - def == other - super || - Where === other && - relation == other.relation && - predicates == other.predicates - end - def engine engine = relation.engine -- cgit v1.2.3