lib/cassandra_object/base.rb in gotime-cassandra_object-2.11.5 vs lib/cassandra_object/base.rb in gotime-cassandra_object-2.11.6
- old
+ new
@@ -54,10 +54,10 @@
@destroyed = false
@attributes = {}
self.attributes = attributes
attribute_definitions.each do |attr, attribute_definition|
unless attribute_exists?(attr)
- self.attributes[attr.to_s] = self.class.typecast_attribute(self, attr, nil)
+ @attributes[attr.to_s] = self.class.typecast_attribute(self, attr, nil)
end
end
@schema_version = self.class.current_schema_version
end
\ No newline at end of file