RubyGems Navigation menu

store_base_sti_class 0.4.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.4.0 - August 2, 2015 (397 KB)
  2. 0.3.0 - January 20, 2015 (17.5 KB)
  3. 0.2.1 - December 24, 2014 (24 KB)
  4. 0.2.0 - August 3, 2014 (23.5 KB)
  5. 0.1.0 - November 28, 2013 (22.5 KB)
Show all versions (7 total)

Runtime Dependencies:

Authors:

  • Andrew Mutz

Owners:

20af3bc1466efb94c3370abdd139b42989b04ed842e8ff9efef1877531e46c30

Sha 256 checksum:

e1cdd45abcad944f4c8865b0ffc6b0dccf070dc84ab601c70505456a42339591

Total downloads 15,912

For this version 81

Show all versions (7 total)

Required Ruby Version: >= 0

License:

MIT

Gemfile:
= Copy to clipboard Copied!

install:
= Copy to clipboard Copied!

Links: