class Ransack::Nodes::Condition
def attributes=(args)
def attributes=(args) case args when Array args.each do |name| build_attribute(name) end when Hash args.each do |index, attrs| build_attribute(attrs[:name], attrs[:ransacker_args]) end else raise ArgumentError, "Invalid argument (#{args.class}) supplied to attributes=" end end