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: 132,507 of 197,085
Downloads: 5,085

Daily

Ranking: 55,182 of 197,066
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,796,160,121bundler
37845,746,438activerecord
226243,595,999mysql2
3,6353,717,987rcov
4,3882,322,951jeweler

Owners

#GravatarHandle
1iconappfolio