lib/active_graph/relationship/persistence/query_factory.rb in activegraph-10.0.0.pre.beta.8 vs lib/active_graph/relationship/persistence/query_factory.rb in activegraph-10.0.0.pre.beta.9

- old
+ new

@@ -83,10 +83,10 @@ # in, making the object reflect as "persisted". # @param [Symbol] key :from_node or :to_node, the object to request from the response. def wrap!(node, res, key) return if node.persisted? || !res.keys.include?(key) unwrapped = res[key] - node.init_on_load(unwrapped, unwrapped.props) + node.init_on_load(unwrapped, unwrapped.properties) end def node_symbols self.class::NODE_SYMBOLS end