diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-23 13:41:34 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-23 13:41:34 -0700 |
commit | 0b0609569bc37da4343c955f78e9ab8d6031ff4f (patch) | |
tree | 33aac9e7b8d0d0886fedfdfe539964fb0e725bc2 /lib/arel/crud.rb | |
parent | 8966434f2a0d7aaff5fdea26b40dc37e89fee239 (diff) | |
download | rails-0b0609569bc37da4343c955f78e9ab8d6031ff4f.tar.gz rails-0b0609569bc37da4343c955f78e9ab8d6031ff4f.tar.bz2 rails-0b0609569bc37da4343c955f78e9ab8d6031ff4f.zip |
delete delegates to the connection
Diffstat (limited to 'lib/arel/crud.rb')
-rw-r--r-- | lib/arel/crud.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/crud.rb b/lib/arel/crud.rb index ac5f70673b..b1269bd1da 100644 --- a/lib/arel/crud.rb +++ b/lib/arel/crud.rb @@ -27,7 +27,7 @@ module Arel dm = DeleteManager.new @engine dm.wheres = @ctx.wheres dm.from @ctx.froms.last - @engine.connection.execute dm.to_sql + @engine.connection.delete dm.to_sql, 'AREL' end end end |