Displaying 2 results from an estimated 2 matches for "from_node".
2006 Mar 15
3
Self-referential join model does not work
...ame => ''Node'', :foreign_key =>
''related_node_id''
validates_uniqueness_of :related_node_id, :scope => :node_id
validates_presence_of :node, :related_node
end
In script/console I then create two nodes and link them with an edge as
follows:
>> from_node = Node.create :title => ''From''
>> to_node = Node.create :title => ''To''
>> e = Edge.create :node => from_node, :related_node => to_node
>> from_node.edges.find_first.related_node
=> #<Node:0xb7430ee4 @attributes={"body"...
2013 Apr 19
8
[PATCH 0 of 8] blktap3/libvhd: Introduce VHD library.
This patch series introduces the VHD library. It is based on the blktap2 one,
with changes coming from the blktap2.5 one.
Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>