searchlogic 2.4.17 → 2.4.18
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/searchlogic/active_record/association_proxy.rb +1 -1
- data/searchlogic.gemspec +1 -1
- metadata +2 -2
data/VERSION.yml
CHANGED
@@ -8,7 +8,7 @@ module Searchlogic
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def send_with_searchlogic(method, *args)
|
11
|
-
if !proxy_respond_to?(method) && proxy_reflection.klass.condition?(method)
|
11
|
+
if !proxy_respond_to?(method) && !proxy_reflection.options[:polymorphic] && proxy_reflection.klass.condition?(method)
|
12
12
|
proxy_reflection.klass.send(method, *args)
|
13
13
|
else
|
14
14
|
send_without_searchlogic(method, *args)
|
data/searchlogic.gemspec
CHANGED