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,702 of 187,967
Downloads: 4,914

Daily

Ranking: 121,583 of 187,960
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,047,993,597bundler
36726,390,648activerecord
207220,197,137mysql2
3,6123,116,733rcov
4,3082,020,201jeweler

Owners

#GravatarHandle
1iconappfolio