Skip to content

Commit

Permalink
Merge pull request #19 from elado/master
Browse files Browse the repository at this point in the history
Added missing db parameter to Relationship nodes load
  • Loading branch information
maxdemarzi committed Jan 1, 2012
2 parents 2b42c9e + 318da9e commit 88e697c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/neography/relationship.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ def load(*args)
rel = db.get_relationship(rel)
unless rel.nil?
rel = Neography::Relationship.new(rel)
rel.start_node = Neography::Node.load(rel.start_node)
rel.end_node = Neography::Node.load(rel.end_node)
rel.start_node = Neography::Node.load(rel.start_node, db)
rel.end_node = Neography::Node.load(rel.end_node, db)
end
rel
end
Expand Down

0 comments on commit 88e697c

Please sign in to comment.