aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-08-06 09:14:10 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-08-06 09:14:10 -0700
commit0e9a9c7aa7791de708657c269dd7b9bb0f42b01c (patch)
treed5b1f9ec8d20f49b2095fd2af4f7ba5061c26c55 /lib/arel
parent4c43dac54e649f579a96505e0038cfb6ea52ef1e (diff)
downloadrails-0e9a9c7aa7791de708657c269dd7b9bb0f42b01c.tar.gz
rails-0e9a9c7aa7791de708657c269dd7b9bb0f42b01c.tar.bz2
rails-0e9a9c7aa7791de708657c269dd7b9bb0f42b01c.zip
removing test code from implementation
Diffstat (limited to 'lib/arel')
-rw-r--r--lib/arel/algebra/relations/writes.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/arel/algebra/relations/writes.rb b/lib/arel/algebra/relations/writes.rb
index 8cf7a7cdad..7df6d861a8 100644
--- a/lib/arel/algebra/relations/writes.rb
+++ b/lib/arel/algebra/relations/writes.rb
@@ -1,8 +1,5 @@
module Arel
class Action < Compound
- def == other
- super || self.class === other && @relation == other.relation
- end
end
class Deletion < Action
@@ -27,10 +24,6 @@ module Arel
engine.create(self)
end
- def == other
- super && @record == other.record
- end
-
def eval
unoperated_rows + [Row.new(self, record.values.collect(&:value))]
end