RubyGems Navigation menu

store_base_sti_class 1.1.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.1.0 - May 18, 2017 (513 KB)
  2. 1.0.0 - February 18, 2017 (513 KB)
  3. 0.5.0 - April 06, 2016 (398 KB)
  4. 0.4.0 - August 02, 2015 (397 KB)
  5. 0.3.0 - January 20, 2015 (17.5 KB)
Show all versions (10 total)

Runtime Dependencies (1):

Authors:

  • AppFolio

Owners:

20af3bc1466efb94c3370abdd139b42989b04ed842e8ff9efef1877531e46c30

SHA 256 checksum:

2612966dafc58325f424041e94fa843ac01c0b84f6d5c46c10508c03999fc970

Total downloads 149,470

For this version 3,854

Gemfile:
= Copy to clipboard Copied!

install:
=

License:

MIT

Required Ruby Version: >= 0

Links: