diff options
Diffstat (limited to 'activerecord/test/fixtures/mixin.rb')
-rw-r--r-- | activerecord/test/fixtures/mixin.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/mixin.rb b/activerecord/test/fixtures/mixin.rb index afc976f8f1..1f200da62d 100644 --- a/activerecord/test/fixtures/mixin.rb +++ b/activerecord/test/fixtures/mixin.rb @@ -12,6 +12,7 @@ end class RecursivelyCascadedTreeMixin < Mixin acts_as_tree :foreign_key => "parent_id" + has_one :first_child, :class_name => 'RecursivelyCascadedTreeMixin', :foreign_key => :parent_id end class ListMixin < Mixin |