diff options
Diffstat (limited to 'activerecord/test/fixtures/mixin.rb')
-rw-r--r-- | activerecord/test/fixtures/mixin.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/mixin.rb b/activerecord/test/fixtures/mixin.rb index c583fe495e..a0a92c4f64 100644 --- a/activerecord/test/fixtures/mixin.rb +++ b/activerecord/test/fixtures/mixin.rb @@ -6,6 +6,10 @@ class TreeMixin < Mixin acts_as_tree :foreign_key => "parent_id", :order => "id" end +class TreeMixinWithoutOrder < Mixin + acts_as_tree :foreign_key => "parent_id" +end + class ListMixin < Mixin acts_as_list :column => "pos", :scope => :parent @@ -35,4 +39,4 @@ class NestedSetWithSymbolScope < Mixin acts_as_nested_set :scope => :root def self.table_name() "mixins" end -end
\ No newline at end of file +end |