lib/cassandra_object/base.rb in gotime-cassandra_object-0.7.5 vs lib/cassandra_object/base.rb in gotime-cassandra_object-0.7.6

- old
+ new

@@ -67,10 +67,10 @@ include Migrations include Mocking def initialize(attributes={}) @key = attributes.delete(:key) - @persisted = false + @new_record = true @destroyed = false @attributes = {}.with_indifferent_access self.attributes = attributes @schema_version = self.class.current_schema_version end