aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-08-06 09:22:36 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-08-06 09:22:36 -0700
commit53db9d80021f399fae312eff935e437a413f8e2d (patch)
treef938d589013a160fb5cc5c6885bf5a7b7f481e16 /lib/arel
parenta70455b9d74eba1ec2653739bcb742a3fee6d437 (diff)
downloadrails-53db9d80021f399fae312eff935e437a413f8e2d.tar.gz
rails-53db9d80021f399fae312eff935e437a413f8e2d.tar.bz2
rails-53db9d80021f399fae312eff935e437a413f8e2d.zip
removing test code from implementation
Diffstat (limited to 'lib/arel')
-rw-r--r--lib/arel/algebra/relations/operations/having.rb6
-rw-r--r--lib/arel/algebra/relations/operations/skip.rb7
2 files changed, 0 insertions, 13 deletions
diff --git a/lib/arel/algebra/relations/operations/having.rb b/lib/arel/algebra/relations/operations/having.rb
index d36aad071b..3d8115c2f6 100644
--- a/lib/arel/algebra/relations/operations/having.rb
+++ b/lib/arel/algebra/relations/operations/having.rb
@@ -10,11 +10,5 @@ module Arel
def havings
@havings ||= relation.havings + predicates
end
-
- def == other
- super || Having === other &&
- relation == other.relation &&
- predicates == other.predicates
- end
end
end
diff --git a/lib/arel/algebra/relations/operations/skip.rb b/lib/arel/algebra/relations/operations/skip.rb
index 7e4ad2b278..a9157e914c 100644
--- a/lib/arel/algebra/relations/operations/skip.rb
+++ b/lib/arel/algebra/relations/operations/skip.rb
@@ -7,13 +7,6 @@ module Arel
@skipped = skipped
end
- def == other
- super ||
- Skip === other &&
- relation == other.relation &&
- skipped == other.skipped
- end
-
def eval
unoperated_rows[skipped..-1]
end