lib/ripple/attribute_methods/dirty.rb in ripple-1.0.0.beta vs lib/ripple/attribute_methods/dirty.rb in ripple-1.0.0.beta2
- old
+ new
@@ -31,11 +31,11 @@
changed_attributes.clear
end
end
# @private
- def initialize(attrs={})
- super(attrs)
+ def initialize(*args)
+ super
changed_attributes.clear
end
# Determines if the document has any chnages.
# @return [Boolean] true if this document, or any of its embedded