Skip to content
Sections
>> Trisquel >> パッケージ >> nabia >> ruby >> ruby-discriminator
nabia  ] [  aramo  ]
[ ソース: ruby-discriminator  ]

パッケージ: ruby-discriminator (0.1.1-2)

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 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • dep: ruby
    Interpreter of object-oriented scripting language Ruby (default version)
    または ruby-interpreter
    パッケージは利用できません
  • dep: ruby-activerecord (>= 2:4.0.2)
    object-relational mapper framework (part of Rails)

ruby-discriminator のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 4.7 kB24 kB [ファイル一覧]