Use acts_as_nested_set instead of acts_as_tree for project hierarchy.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/work@2149 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2008-12-20 12:22:38 +00:00
parent 04fea923a4
commit 058e4db223
25 changed files with 1758 additions and 5 deletions

View File

@@ -10,6 +10,8 @@ projects_001:
is_public: true
identifier: ecookbook
parent_id:
lft: 1
rgt: 8
projects_002:
created_on: 2006-07-19 19:14:19 +02:00
name: OnlineStore
@@ -21,6 +23,8 @@ projects_002:
is_public: false
identifier: onlinestore
parent_id:
lft: 9
rgt: 10
projects_003:
created_on: 2006-07-19 19:15:21 +02:00
name: eCookbook Subproject 1
@@ -32,6 +36,8 @@ projects_003:
is_public: true
identifier: subproject1
parent_id: 1
lft: 4
rgt: 5
projects_004:
created_on: 2006-07-19 19:15:51 +02:00
name: eCookbook Subproject 2
@@ -43,6 +49,8 @@ projects_004:
is_public: true
identifier: subproject2
parent_id: 1
lft: 6
rgt: 7
projects_005:
created_on: 2006-07-19 19:15:51 +02:00
name: Private child of eCookbook
@@ -52,6 +60,8 @@ projects_005:
description: This is a private subproject of a public project
homepage: ""
is_public: false
identifier: private_child
identifier: private-child
parent_id: 1
lft: 2
rgt: 3