all options
sid  ]
[ Source: ruby-discriminator  ]

Package: ruby-discriminator (0.1.1-1)

Links for ruby-discriminator

Screenshot

Debian Resources:

Download Source Package ruby-discriminator:

Maintainers:

External Resources:

Similar packages:

Gem making smart ActiveRecords 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.

Other Packages Related to ruby-discriminator

  • depends
  • recommends
  • suggests
  • enhances

Download ruby-discriminator

Download for all available architectures
Architecture Package Size Installed Size Files
all 4.5 kB24.0 kB [list of files]