spec/support/models.rb in closure_tree-4.2.4 vs spec/support/models.rb in closure_tree-4.2.5

- old
+ new

@@ -1,8 +1,8 @@ require 'uuidtools' class Tag < ActiveRecord::Base - acts_as_tree :dependent => :destroy, :order => "name" + acts_as_tree :dependent => :destroy, :order => :name before_destroy :add_destroyed_tag attr_accessible :name, :title if _ct.use_attr_accessible? def to_s name end