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: 130,179 of 193,081
Downloads: 5,009

Daily

Ranking: 64,825 of 193,053
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,426,950,252bundler
36791,870,041activerecord
214233,224,919mysql2
3,5763,558,821rcov
4,3162,216,375jeweler

Owners

#GravatarHandle
1iconappfolio