lib/superstore/persistence.rb in superstore-2.4.0 vs lib/superstore/persistence.rb in superstore-2.4.1

- old
+ new

@@ -134,18 +134,18 @@ end private def create_self - @new_record = false write :insert_record end def update_self write :update_record end def write(method) + @new_record = false self.class.send(method, id, unapplied_changes) end end end