aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2013-07-14 20:31:25 +0530
committerVipul A M <vipulnsward@gmail.com>2013-11-10 09:50:26 +0530
commit6aa055f5ab8ad4aee2791d9ba505d8328707ca83 (patch)
tree6188e739ac364e555a51e5241592cfd69112fa23 /lib/arel
parente0d3bcb6519faec69326a98413cb6d5406d9cb58 (diff)
downloadrails-6aa055f5ab8ad4aee2791d9ba505d8328707ca83.tar.gz
rails-6aa055f5ab8ad4aee2791d9ba505d8328707ca83.tar.bz2
rails-6aa055f5ab8ad4aee2791d9ba505d8328707ca83.zip
Remove deprecated calls to `delete` with preference to using `compile_delete` and then calling `to_sql` on the resulting object to execute the SQL
Diffstat (limited to 'lib/arel')
-rw-r--r--lib/arel/crud.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/arel/crud.rb b/lib/arel/crud.rb
index e8e78a381c..cc50a820e4 100644
--- a/lib/arel/crud.rb
+++ b/lib/arel/crud.rb
@@ -59,14 +59,5 @@ switch to `compile_insert`
dm
end
- def delete
- if $VERBOSE
- warn <<-eowarn
-delete (#{caller.first}) is deprecated and will be removed in Arel 4.0.0. Please
-switch to `compile_delete`
- eowarn
- end
- @engine.connection.delete compile_delete.to_sql, 'AREL'
- end
end
end