lib/searchlogic/search/method_missing.rb in searchlogic-2.5.16 vs lib/searchlogic/search/method_missing.rb in searchlogic-2.5.17

- old
+ new

@@ -87,10 +87,10 @@ end def type_cast(value, type, options = {}) case value when Array - value.collect { |v| type_cast(v, type) } + value.collect { |v| type_cast(v, type) }.uniq when Range Range.new(type_cast(value.first, type), type_cast(value.last, type)) else # Let's leverage ActiveRecord's type casting, so that casting is consistent # with the other models. \ No newline at end of file