diff options
Diffstat (limited to 'activerecord/test/fixtures/mixin.rb')
-rw-r--r-- | activerecord/test/fixtures/mixin.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/activerecord/test/fixtures/mixin.rb b/activerecord/test/fixtures/mixin.rb index 7f877a8ce8..5e40c397c0 100644 --- a/activerecord/test/fixtures/mixin.rb +++ b/activerecord/test/fixtures/mixin.rb @@ -15,24 +15,6 @@ class RecursivelyCascadedTreeMixin < Mixin has_one :first_child, :class_name => 'RecursivelyCascadedTreeMixin', :foreign_key => :parent_id end -class ListMixin < Mixin - acts_as_list :column => "pos", :scope => :parent - - def self.table_name() "mixins" end -end - -class ListMixinSub1 < ListMixin -end - -class ListMixinSub2 < ListMixin -end - - -class ListWithStringScopeMixin < ActiveRecord::Base - acts_as_list :column => "pos", :scope => 'parent_id = #{parent_id}' - - def self.table_name() "mixins" end -end class NestedSet < Mixin acts_as_nested_set :scope => "root_id IS NULL" |