Has Ancestor plugin

Plugin details

has_ancestor is a Ruby on Rails plug-in that provides an implementation of Class Table Inheritance based on Rails Polymorphic Associations.

Websitehttp://research.inplanb.com/ Repositorysvn://rubyforge.org/var/svn/has-ancestor/tags/rel_0_1_3 Author Troy Stribling Tags ancestor, find LicenseMIT

Documentation

Install the plugin:
ruby script/plugin install svn://rubyforge.org/var/svn/has-ancestor/tags/rel_0_1_3

test/fixtures contains examples of models which implement has_ancestor and has_descendant.

test/spec/specs contains rspec examples which implement the models in test/fixtures.

to run specs configure test/rails_root/config/database.yml and type the following in the installation directory

rake spec


to generate html spec report type the following in the installation directory

rake spec_report

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | (0 older versions) | Last edited by: hardway, about 1 year ago