lib/querifier/queries/where.rb in querifier-0.2.2 vs lib/querifier/queries/where.rb in querifier-0.2.3
- old
+ new
@@ -36,10 +36,10 @@
self.class.where_attributes.include?(option.to_sym)
end
def filter_params
@filter_params ||=
- params.fetch(Config.where_param, {}).select { |k| valid_option? k.to_sym }
+ params.fetch(Config.where_param, {}).select { |(k, _)| valid_option? k.to_sym }
end
def self.included(klass)
klass.extend(ClassMethods)