aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/engines/memory
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-07-20 17:30:54 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-07-20 17:30:54 -0700
commit56f2de870a7279e11575f6d0c6f2f9eea1374407 (patch)
tree5a7b3f9ff0854bf51d0e416144b1c9bb9e172b2a /lib/arel/engines/memory
parent5b3433069fc94e120555ae4d218f6be19d2e51d4 (diff)
downloadrails-56f2de870a7279e11575f6d0c6f2f9eea1374407.tar.gz
rails-56f2de870a7279e11575f6d0c6f2f9eea1374407.tar.bz2
rails-56f2de870a7279e11575f6d0c6f2f9eea1374407.zip
take advantage of inheritence for easier codes
Diffstat (limited to 'lib/arel/engines/memory')
-rw-r--r--lib/arel/engines/memory/relations/writes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/engines/memory/relations/writes.rb b/lib/arel/engines/memory/relations/writes.rb
index 12c4f36c0d..39c1170ddc 100644
--- a/lib/arel/engines/memory/relations/writes.rb
+++ b/lib/arel/engines/memory/relations/writes.rb
@@ -1,5 +1,5 @@
module Arel
- class Insert < Compound
+ class Insert < Action
def eval
unoperated_rows + [Row.new(self, record.values.collect(&:value))]
end