From 9cbfc8a370bf6537a02a2f21e7246dc21ba4cf1f Mon Sep 17 00:00:00 2001 From: Vipul A M Date: Sun, 14 Jul 2013 21:17:57 +0530 Subject: Remove deprecated calls to `SelectManager#wheres` with no replacement --- lib/arel/select_manager.rb | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/arel') diff --git a/lib/arel/select_manager.rb b/lib/arel/select_manager.rb index b4899177d5..60df12c700 100644 --- a/lib/arel/select_manager.rb +++ b/lib/arel/select_manager.rb @@ -161,11 +161,6 @@ module Arel @ast.orders end - def wheres - warn "#{caller[0]}: SelectManager#wheres is deprecated and will be removed in Arel 4.0.0 with no replacement" - Compatibility::Wheres.new @engine.connection, @ctx.wheres - end - def where_sql return if @ctx.wheres.empty? -- cgit v1.2.3