Skip to content

Commit

Permalink
Minor tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Kleppmann committed Jun 17, 2009
1 parent 1617b57 commit 1ea74ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/neo4j/relationships/has_n.rb
Expand Up @@ -71,7 +71,7 @@ def new(other)
from, to = to, from unless @info[:outgoing]

r = from.internal_node.createRelationshipTo(to.internal_node, @type)
from.class.relationships_info[@type.name.to_sym][:relationship].new(r)
from.class.new_relationship(@type.name, r)
end


Expand Down

0 comments on commit 1ea74ef

Please sign in to comment.