lib/active_graph/node/persistence.rb in activegraph-10.0.0.pre.beta.8 vs lib/active_graph/node/persistence.rb in activegraph-10.0.0.pre.beta.9
- old
+ new
@@ -53,10 +53,10 @@
# Creates a model with values matching those of the instance attributes and returns its id.
# @private
# @return true
def create_model
node = _create_node(props_for_create)
- init_on_load(node, node.props)
+ init_on_load(node, node.properties)
@deferred_nodes = nil
true
end
# TODO: This does not seem like it should be the responsibility of the node.