From 09a5847044e63bcc2b391720cf6bf084f03b4501 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 6 Aug 2010 10:06:19 -0700 Subject: removing test code from implementation --- lib/arel/algebra/relations/row.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lib/arel') diff --git a/lib/arel/algebra/relations/row.rb b/lib/arel/algebra/relations/row.rb index f5fe364b83..f303dcd8d1 100644 --- a/lib/arel/algebra/relations/row.rb +++ b/lib/arel/algebra/relations/row.rb @@ -7,13 +7,6 @@ module Arel @tuple = tuple end - def == other - super || - Row === other && - relation == other.relation && - tuple == other.tuple - end - def [](attribute) attribute.type_cast(tuple[relation.position_of(attribute)]) end -- cgit v1.2.3