aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2013-07-14 21:11:35 +0530
committerVipul A M <vipulnsward@gmail.com>2013-11-10 11:29:17 +0530
commit27330ebae9537dd5503b10d3c0e6f422a38bd9c8 (patch)
tree7e8ab8e7fc583f5242a03fb8ad71bee4dd167219 /lib/arel
parent87fd8b390328557661500208b64cc15f61efddd1 (diff)
downloadrails-27330ebae9537dd5503b10d3c0e6f422a38bd9c8.tar.gz
rails-27330ebae9537dd5503b10d3c0e6f422a38bd9c8.tar.bz2
rails-27330ebae9537dd5503b10d3c0e6f422a38bd9c8.zip
Remove deprecated calls to using `where_clauses`
Diffstat (limited to 'lib/arel')
-rw-r--r--lib/arel/select_manager.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/arel/select_manager.rb b/lib/arel/select_manager.rb
index ee9d34a514..399cddb513 100644
--- a/lib/arel/select_manager.rb
+++ b/lib/arel/select_manager.rb
@@ -47,14 +47,6 @@ module Arel
create_table_alias grouping(@ast), Nodes::SqlLiteral.new(other)
end
- def where_clauses
- if $VERBOSE
- warn "(#{caller.first}) where_clauses is deprecated and will be removed in arel 4.0.0 with no replacement"
- end
- to_sql = Visitors::ToSql.new @engine.connection
- @ctx.wheres.map { |c| to_sql.accept c }
- end
-
def lock locking = Arel.sql('FOR UPDATE')
case locking
when true