I have released a sequel plugin that combines the functionality of the 
single and class table inheritance plugins.  This allows having subclasses 
use the same tables as the parent class or an additional table as needed in 
the same hierarchy.

Github: https://github.com/QuinnHarris/sequel-table_inheritance
Gem: sequel-table_inheritance

This should work as a drop in replacement for the class_table_inheritance 
plugin.  It passes all the specs for both table inheritance plugins.  The 
only exception is this plugin permits anonymous subclasses which fails one 
class_table_inheritance test.

It use the single_table_inheritance plugin so it has all its functionality 
and has a little less duplicate functionality than the existing 
class_table_inheritance plugin.

This plugin can eager load subclasses in addition the the lazy loading in 
the class_table_inheritance plugin.

The git history attempts to break out each major feature into a different 
commit.  The original commit is just a copy of the single_table_inheritance 
plugin.  This progresses to add the basic functionality of both plugins 
matching the existing code as close as possible.  Later more features are 
added and some of the code is reworked.

Thanks,
Quinn Harris

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to