wszystkie opcje
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Pakiet źródłowy: ruby-discriminator  ]

Pakiet: ruby-discriminator (0.1.1-2)

Odnośniki dla ruby-discriminator

Screenshot

Zasoby systemu Debian:

Pobieranie pakietu źródłowego ruby-discriminator:

Opiekunowie:

Zasoby zewnętrzne:

Podobne pakiety:

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.

Inne pakiety związane z ruby-discriminator

  • wymaga
  • poleca
  • sugeruje
  • enhances

Pobieranie ruby-discriminator

Pobierz dla wszystkich dostępnych architektur
Architektura Rozmiar pakietu Rozmiar po instalacji Pliki
all 4,7 KiB24,0 KiB [lista plików]