filterrific 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +4 -0
- data/VERSION +1 -1
- data/filterrific.gemspec +1 -1
- data/lib/filterrific/model_mixin.rb +1 -1
- metadata +3 -3
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
data/filterrific.gemspec
CHANGED
@@ -18,7 +18,7 @@ module Filterrific::ModelMixin
|
|
18
18
|
cattr_accessor :default_filterrific_params
|
19
19
|
cattr_accessor :filterrific_scope_names
|
20
20
|
self.default_filterrific_params = (options[:defaults] || {}).stringify_keys
|
21
|
-
self.filterrific_scope_names = (options[:scope_names] || []).
|
21
|
+
self.filterrific_scope_names = (options[:scope_names] || []).map { |e| e.to_s }
|
22
22
|
end
|
23
23
|
|
24
24
|
# Returns AR relation based on given filterrific_param_set.
|
metadata
CHANGED