Categories: None [Edit]

store_base_sti_class_for_3_1

https://rubygems.org/gems/store_base_sti_class_for_3_1
https://github.com/appfolio/store_base_sti_class_for_3_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.

Total

Ranking: 127,058 of 187,239
Downloads: 4,871

Daily

Ranking: 78,093 of 187,224
Downloads: 4

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,973,208,875bundler
36711,658,717activerecord
206216,724,255mysql2
3,6113,059,340rcov
4,2941,988,789jeweler

Owners

#GravatarHandle
1iconappfolio