lib/sdb/active_sdb.rb in rberger-right_aws-1.10.99 vs lib/sdb/active_sdb.rb in rberger-right_aws-1.10.100

- old
+ new

@@ -918,10 +918,10 @@ def uniq_values(attributes=nil) # :nodoc: attrs = {} attributes.each do |attribute, values| attribute = attribute.to_s - attrs[attribute] = attribute == 'id' ? values.to_s : values.to_a.uniq + attrs[attribute] = attribute == 'id' ? values.to_s : Array(values).uniq attrs.delete(attribute) if values.blank? end attrs end end \ No newline at end of file