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: 128,626 of 189,432
Downloads: 4,950

Daily

Ranking: 60,592 of 189,408
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,178,665,799bundler
36751,227,832activerecord
210225,229,661mysql2
3,6183,253,858rcov
4,3062,093,830jeweler

Owners

#GravatarHandle
1iconappfolio