Permalink
Browse files

Small addition to last commit.

  • Loading branch information...
1 parent fa73096 commit 48ddb2ea5dbb03da77e7e17068cef4ca0efbffcd @muitocomplicado muitocomplicado committed with stefankroes Jun 11, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 48ddb2e

Please sign in to comment.