RubyGems Navigation menu

store_base_sti_class_for_3_0 0.0.2

ActiveRecord has always stored the base class in polymorphic _type columns when using STI. This can have non-trivial performance implications in certain cases. This gem adds 'store_base_sti_class' configuration options which controls whether ActiveRecord will store the base class or the actual class. Default to true for backwards compatibility.

Gemfile:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 0.1.3 - June 02, 2011 (16.5KB)
  2. 0.1.2 - April 26, 2011 (16.5KB)
  3. 0.1.1 - April 20, 2011 (12.5KB)
  4. 0.1.0 - April 18, 2011 (12.5KB)
  5. 0.0.2 - February 21, 2011 (12.5KB)
全てのバージョンを表示(全6件)

Runtime依存関係 (2):

activerecord ~> 3.0.3
mysql2 >= 0

Development依存関係 (3):

bundler ~> 1.0.0
jeweler ~> 1.5.2
rcov >= 0

所有者:

作者:

  • Paul Kmiec

SHA 256チェックサム:

2e2cbce244e9485060ab0ea4e4746fa38ead75b4f9240356ebc6d2413f4dccc1

累計ダウンロード数 19,760

このバージョンのみ 3,150

ライセンス:

N/A

必要なRubyのバージョン: なし

リンク: