RubyGems Navigation menu

store_base_sti_class_for_3_0 0.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 '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:
= Copier Copié!

installation:
=

Versions:

  1. 0.1.3 - June 02, 2011 (16,5 ko)
  2. 0.1.2 - April 26, 2011 (16,5 ko)
  3. 0.1.1 - April 20, 2011 (12,5 ko)
  4. 0.1.0 - April 18, 2011 (12,5 ko)
  5. 0.0.2 - February 21, 2011 (12,5 ko)
Voir toutes les versions (6)

Dépendances de Runtime (2):

activerecord ~> 3.0.5
mysql2 >= 0

Dépendances de Development (3):

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

Propriétaires:

Auteurs:

  • Paul Kmiec

Total de contrôle SHA 256:

16d64a27b9f388c741b8cc811a1faefe34f9626dd4a5f3ebbdc000041b4c5a7a

Total de téléchargements 19 754

Pour cette version 2 985

License:

aucune

Version de Ruby requise: None

Liens: