restpack-resource 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
@@ -25,7 +25,7 @@ module RestPack
|
|
25
25
|
private
|
26
26
|
|
27
27
|
def extract_filters_from_params(klass, params)
|
28
|
-
extracted = params.extract!(*klass.resource_filterable_by)
|
28
|
+
extracted = params.with_indifferent_access.extract!(*klass.resource_filterable_by)
|
29
29
|
extracted.delete_if { |k, v| v.nil? }
|
30
30
|
end
|
31
31
|
|