diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-09 08:01:44 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-09 08:01:44 +0000 |
commit | b0630673213ed2bee99883cb9197ddf6457a3fac (patch) | |
tree | c28f2571c88c42e07bf9548313cabe66c196d0a7 /activerecord/test/fixtures/mixins.yml | |
parent | c8e0e10e28948bce93ea9f28524f917d9e0ea2da (diff) | |
download | rails-b0630673213ed2bee99883cb9197ddf6457a3fac.tar.gz rails-b0630673213ed2bee99883cb9197ddf6457a3fac.tar.bz2 rails-b0630673213ed2bee99883cb9197ddf6457a3fac.zip |
Added the instance methods #root and #ancestors on acts_as_tree and fixed siblings to not include the current node #2142, #2140 [coffee2code]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2163 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures/mixins.yml')
-rw-r--r-- | activerecord/test/fixtures/mixins.yml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/mixins.yml b/activerecord/test/fixtures/mixins.yml index 9f8e1ee8de..1d990c2e8e 100644 --- a/activerecord/test/fixtures/mixins.yml +++ b/activerecord/test/fixtures/mixins.yml @@ -2,7 +2,7 @@ tree_1: id: 1001 type: TreeMixin - parent_id: 0 + parent_id: tree_2: id: 1002 @@ -18,6 +18,16 @@ tree_4: id: 1004 type: TreeMixin parent_id: 1001 + +tree2_1: + id: 1005 + type: TreeMixin + parent_id: + +tree3_1: + id: 1006 + type: TreeMixin + parent_id: # List mixins |