RubyGems Navigation menu

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

Versions:

  1. 0.3.0 - January 20, 2015 (17.5 KB)
  2. 0.2.1 - December 24, 2014 (24 KB)
  3. 0.2.0 - August 3, 2014 (23.5 KB)
  4. 0.1.0 - November 28, 2013 (22.5 KB)
  5. 0.0.2 - May 11, 2012 (18.5 KB)
Show all versions (6 total)

Runtime Dependencies:

Authors:

  • Andrew Mutz

Owners:

20af3bc1466efb94c3370abdd139b429

Sha 256 checksum:

bbc4d4fac040942313aba80515ea4506c45c11a0a1a945e3e378f4eba3c78c37

Total downloads 13,895

For this version 348

Show all versions (6 total)

Required Ruby Version: >= 0

Licenses:

MIT

Gemfile:
= Copy to clipboard Copied!

install:
= Copy to clipboard Copied!

Links: