RubyGems Navigation menu

store_base_sti_class_for_3_1 0.0.1

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.

Gemfile:
=

installieren:
=

Versionen:

  1. 0.0.1 January 16, 2012 (12 KB)

Runtime Abhängigkeiten (1):

activerecord >= 3.1.0

Development Abhängigkeiten (4):

bundler ~> 1.0.0
jeweler ~> 1.5.2
mysql2 = 0.3.7
rcov >= 0

Besitzer:

Autoren:

  • Andrew Mutz

SHA 256-Prüfsumme:

=

Downloads insgesamt 4.570

Für diese Version 4.570

Version veröffentlicht:

Lizenzen:

k.A.

Erforderliche Ruby-Version: None

Links: