diff options
Diffstat (limited to 'lib')
-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 |