class Ransack::Configuration::PredicateCollection
def []=(key, value)
def []=(key, value) @sorted_names_with_underscores << [key, '_' + key] @sorted_names_with_underscores.sort! { |(a, _), (b, _)| b.length <=> a.length } @collection[key] = value end
def initialize
def initialize @collection = {} @sorted_names_with_underscores = [] end