store_base_sti_class 2.0.2
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 the 'store_base_sti_class' configuration option which controls whether ActiveRecord will store the base class or the actual class. Defaults to true for backwards compatibility.
Gemfile:
=
安裝:
=
Runtime 相依性套件 (1):
activerecord
>= 4.0