store_base_sti_class 0.2.0
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.
Gemfile:
=
安裝:
=
Runtime 相依性套件 (2):
activerecord
>= 0
minitest
~> 4.0