diff options
author | Vipul A M <vipulnsward@gmail.com> | 2013-07-14 21:11:35 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2013-11-10 11:29:17 +0530 |
commit | 27330ebae9537dd5503b10d3c0e6f422a38bd9c8 (patch) | |
tree | 7e8ab8e7fc583f5242a03fb8ad71bee4dd167219 | |
parent | 87fd8b390328557661500208b64cc15f61efddd1 (diff) | |
download | rails-27330ebae9537dd5503b10d3c0e6f422a38bd9c8.tar.gz rails-27330ebae9537dd5503b10d3c0e6f422a38bd9c8.tar.bz2 rails-27330ebae9537dd5503b10d3c0e6f422a38bd9c8.zip |
Remove deprecated calls to using `where_clauses`
-rw-r--r-- | lib/arel/select_manager.rb | 8 |
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 |