Commit 88cb8015b01640523c50ac11dcacd48977333715
1 parent
4e0c047d
Exists in
master
and in
14 other branches
Don't warn yet
Showing
2 changed files
with
4 additions
and
5 deletions
Show diff stats
CHANGELOG.md
lib/searchkick/query.rb
... | ... | @@ -871,10 +871,10 @@ module Searchkick |
871 | 871 | end |
872 | 872 | |
873 | 873 | def where_filters(where) |
874 | - if where.respond_to?(:permitted?) && !where.permitted? | |
875 | - # TODO check in more places | |
876 | - Searchkick.warn("Passing unpermitted parameters will raise an exception in Searchkick 5") | |
877 | - end | |
874 | + # if where.respond_to?(:permitted?) && !where.permitted? | |
875 | + # # TODO check in more places | |
876 | + # Searchkick.warn("Passing unpermitted parameters will raise an exception in Searchkick 5") | |
877 | + # end | |
878 | 878 | |
879 | 879 | filters = [] |
880 | 880 | (where || {}).each do |field, value| | ... | ... |