RubyGems Navigation menu

store_base_sti_class 1.0.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 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.

Versions:

  1. 1.0.0 - February 18, 2017 (513 KB)
  2. 0.5.0 - April 6, 2016 (398 KB)
  3. 0.4.0 - August 2, 2015 (397 KB)
  4. 0.3.0 - January 20, 2015 (17.5 KB)
  5. 0.2.1 - December 24, 2014 (24 KB)
Show all versions (9 total)

Runtime Dependencies (1):

Authors:

  • AppFolio

Owners:

20af3bc1466efb94c3370abdd139b42989b04ed842e8ff9efef1877531e46c30

SHA 256 checksum:

129aa531bcdbf21874c95de6db2dd7d0128c8aa75c3ce60b430315853881dae5

Total downloads 108,975

For this version 224

Gemfile:
= Copy to clipboard Copied!

install:
=

License:

MIT

Required Ruby Version: >= 0

Links: