spec/support/models.rb in closure_tree-3.7.2 vs spec/support/models.rb in closure_tree-3.7.3

- old
+ new

@@ -1,16 +1,6 @@ require 'uuidtools' -class Node < ActiveRecord::Base - acts_as_tree :dependent => :destroy - before_create :generate_uuid - attr_accessible :name - - def generate_uuid - self.id = UUIDTools::UUID.random_create.to_s - end -end - class Tag < ActiveRecord::Base acts_as_tree :dependent => :destroy, :order => "name" before_destroy :add_destroyed_tag attr_accessible :name