RubyGems Navigation menu

store_base_sti_class 1.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 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.2.0 - April 11, 2018 (27 KB)
  2. 1.1.0 - May 18, 2017 (513 KB)
  3. 1.0.0 - February 18, 2017 (513 KB)
  4. 0.5.0 - April 06, 2016 (398 KB)
  5. 0.4.0 - August 02, 2015 (397 KB)
Show all versions (11 total)

Runtime Dependencies (1):

Authors:

  • AppFolio

Owners:

20af3bc1466efb94c3370abdd139b429977c9a7d43817d65f70ec8736de07671

SHA 256 checksum:

ac883a80d3204a892708288be708b1e590a5d43efdaf80f075b3bb8ace4b8397

Total downloads 170,464

For this version 207

Gemfile:
= Copy to clipboard Copied!

install:
=

License:

MIT

Required Ruby Version: >= 0

Links: