RubyGems Navigation menu

store_base_sti_class_for_3_1 0.0.1

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.0.1 - January 16, 2012 (12.0 KB)

Runtime 相依性套件 (1):

activerecord >= 3.1.0

Development 相依性套件 (4):

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

擁有者:

作者:

  • Andrew Mutz

SHA 256 checksum:

906c41b8a562047099adbb47771630dcb2eda058484ca036df27e50b4b4425e0

總下載次數 4,431

這個版本 4,431

License:

Ruby 版本需求:

相關連結: