diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-06 09:14:10 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-06 09:14:10 -0700 |
commit | 0e9a9c7aa7791de708657c269dd7b9bb0f42b01c (patch) | |
tree | d5b1f9ec8d20f49b2095fd2af4f7ba5061c26c55 /lib | |
parent | 4c43dac54e649f579a96505e0038cfb6ea52ef1e (diff) | |
download | rails-0e9a9c7aa7791de708657c269dd7b9bb0f42b01c.tar.gz rails-0e9a9c7aa7791de708657c269dd7b9bb0f42b01c.tar.bz2 rails-0e9a9c7aa7791de708657c269dd7b9bb0f42b01c.zip |
removing test code from implementation
Diffstat (limited to 'lib')
-rw-r--r-- | lib/arel/algebra/relations/writes.rb | 7 |
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 |