class Ransack::Helpers::FormBuilder

def can_use_default?(default, attribute, values)

def can_use_default?(default, attribute, values)
  object.respond_to?("#{attribute}=") && default &&
    values.include?(default.to_s)
end