lib/neo4j/active_node/node_wrapper.rb in neo4j-3.0.1 vs lib/neo4j/active_node/node_wrapper.rb in neo4j-3.0.2
- old
+ new
@@ -1,9 +1,10 @@
class Neo4j::Node
module Wrapper
# this is a plugin in the neo4j-core so that the Ruby wrapper will be wrapped around the Neo4j::Node objects
def wrapper
+ self.props.symbolize_keys!
most_concrete_class = sorted_wrapper_classes
return self unless most_concrete_class
wrapped_node = most_concrete_class.new
wrapped_node.init_on_load(self, self.props)
wrapped_node