saks / mongoid_acts_as_tree

ActsAsTree for Mongoid
http://github.com/ramdiv/mongo_mapper_acts_as_tree
MIT License
32 stars 17 forks source link

Updated to allow for a tree with subtypes to all exist together #5

Closed davekrupinski closed 14 years ago

davekrupinski commented 14 years ago

There is now an option that defaults to mixing in class that sets the tree class to operate on. Also laxed the equality check to look for a kind of the base class instead of an instance of the class.