From 48ddb2ea5dbb03da77e7e17068cef4ca0efbffcd Mon Sep 17 00:00:00 2001 From: David Bittencourt Date: Fri, 11 Jun 2010 13:03:04 +0800 Subject: [PATCH] Small addition to last commit. --- lib/ancestry/class_methods.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ancestry/class_methods.rb b/lib/ancestry/class_methods.rb index 05940bd6..dd099c6c 100644 --- a/lib/ancestry/class_methods.rb +++ b/lib/ancestry/class_methods.rb @@ -43,7 +43,7 @@ def arrange options = {} # Change the insertion point to children if node is a descendant of this parent insertion_point = children if ancestor_id == parent.id end; insertion_point - end[node] = {}; arranged_nodes + end[node] = ActiveSupport::OrderedHash.new; arranged_nodes end end