lib/supermodel/base.rb in supermodel-0.1.5 vs lib/supermodel/base.rb in supermodel-0.1.6

- old
+ new

@@ -15,10 +15,10 @@ @collection.class_eval(&block) if block_given? @collection end def attributes(*attributes) - self.known_attributes += attributes.map(&:to_s) + self.known_attributes |= attributes.map(&:to_s) end def records @records ||= {} end \ No newline at end of file