[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#929054: ITP: ruby-discriminator -- Gem making smart ActiveRecord by loading subclasses




Package: wnpp
Severity: wishlist
Owner: Samyak Jain <samyak.jn11@gmail.com>

* Package name : ruby-discriminator Version : 0.1.1 Upstream Author : James Kiesel<james.kiesel@gmail.com> * URL : https://github.com/gdpelican/discriminator * License : Expat  Programming Lang: Ruby Description : Gem making smart ActiveRecord by loading subclasses

Discriminator is a gem which makes ActiveRecord smart about loading
subclasses from the database.
Ideally, we'd like to load up these Active Records from the databases,
with their subclasses already applied with discriminator,
otherwise it's become cumbersome to determine each type in the database.
This can be exceptionally helpful for a Single Table Inheritance situation,
or something like Events where there may be a large number of subclasses
which could have very different behavior per subclass.


It is a dependency for loomio and hence needs to be packaged.
Thanks,
Samyak Jain

Reply to: