lib/toy/dirty_store.rb in toystore-0.13.1 vs lib/toy/dirty_store.rb in toystore-0.13.2
- old
+ new
@@ -20,13 +20,13 @@
@previously_changed = {}
@changed_attributes = {}
end
end
- def save(*)
+ def save(options={})
super.tap do
@previously_changed = changes
@changed_attributes.clear if @changed_attributes
end
end
end
-end
\ No newline at end of file
+end