lib/neo4j/active_node/property.rb in neo4j-7.0.0.rc.1 vs lib/neo4j/active_node/property.rb in neo4j-7.0.0.rc.2
- old
+ new
@@ -4,10 +4,9 @@
include Neo4j::Shared::Property
def initialize(attributes = nil)
super(attributes)
@attributes ||= Hash[self.class.attributes_nil_hash]
- send_props(@relationship_props) if !@relationship_props.nil?
end
module ClassMethods
# Extracts keys from attributes hash which are associations of the model
# TODO: Validate separately that relationships are getting the right values? Perhaps also store the values and persist relationships on save?