has_ancestor plugin
has_ancestor is a Ruby on Rails plug-in that provides an implementation of Class Table Inheritance based on Rails Polymorphic Associations. The plugin adds two methods to ActiveRecord::Base, has_ancestor and has_descendants.
has_ancestor is a Ruby on Rails plug-in that provides an implementation of Class Table Inheritance based on Rails Polymorphic Associations. The plugin adds two methods to ActiveRecord::Base, has_ancestor and has_descendants.