aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-08-06 10:06:19 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-08-06 10:06:19 -0700
commit09a5847044e63bcc2b391720cf6bf084f03b4501 (patch)
tree3478a267e06385b9ddbb184cdb24e401d1b2ecd5 /lib/arel
parent53db9d80021f399fae312eff935e437a413f8e2d (diff)
downloadrails-09a5847044e63bcc2b391720cf6bf084f03b4501.tar.gz
rails-09a5847044e63bcc2b391720cf6bf084f03b4501.tar.bz2
rails-09a5847044e63bcc2b391720cf6bf084f03b4501.zip
removing test code from implementation
Diffstat (limited to 'lib/arel')
-rw-r--r--lib/arel/algebra/relations/row.rb7
1 files changed, 0 insertions, 7 deletions
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