mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
deprecating SelectManager#wheres method
This commit is contained in:
parent
d7ed2338b1
commit
fc353baa80
2 changed files with 4 additions and 0 deletions
|
@ -49,6 +49,9 @@
|
|||
* Arel::SelectManager#where_clauses is deprecated and will be removed in
|
||||
3.0.0 with no replacement.
|
||||
|
||||
* Arel::SelectManager#wheres is deprecated and will be removed in
|
||||
3.0.0 with no replacement.
|
||||
|
||||
== 2.0.7 (unreleased)
|
||||
|
||||
* Bug Fixes
|
||||
|
|
|
@ -143,6 +143,7 @@ module Arel
|
|||
end
|
||||
|
||||
def wheres
|
||||
warn "#{caller[0]}: SelectManager#wheres is deprecated and will be removed in ARel 3.0.0 with no replacement"
|
||||
Compatibility::Wheres.new @engine, @ctx.wheres
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue