app/models/marty/base_rule.rb in marty-2.7.1 vs app/models/marty/base_rule.rb in marty-2.7.2
- old
+ new
@@ -94,10 +94,10 @@
value = multi ? %Q('["%s"]') % value0[1..-2] : value0
fieldcast = type == :range ? '::numrange' : ''
"(#{field}#{arrow}'#{subfield}')#{fieldcast} #{op} #{value}"
end
- def self.get_matches_(pt, attrs, params)
+ def self.get_matches_(_pt, attrs, params)
q = select('DISTINCT ON (name) *').where(attrs)
params.each do |k, vraw|
h = guard_info
use_k = (h[k] && k) ||