Alle Optionen
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Quellcode: ruby-discriminator  ]

Paket: ruby-discriminator (0.1.1-2)

Links für ruby-discriminator

Screenshot

Debian-Ressourcen:

Quellcode-Paket ruby-discriminator herunterladen:

Betreuer:

Externe Ressourcen:

Ähnliche Pakete:

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.

Andere Pakete mit Bezug zu ruby-discriminator

  • hängt ab von
  • empfiehlt
  • schlägt vor
  • erweitert

ruby-discriminator herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 4,7 kB24,0 kB [Liste der Dateien]