全部搜尋項
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: ruby-discriminator  ]

套件:ruby-discriminator(0.1.1-2)

ruby-discriminator 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 ruby-discriminator

維護小組:

外部的資源:

相似套件:

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.

其他與 ruby-discriminator 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 ruby-discriminator

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 4。7 kB24。0 kB [檔案列表]