RubyGems Navigation menu

polymorphic_as_table 0.5.1

Monkey-patches ActiveRecord so that polymorphic associations have their type column data written as their tablenames instead of their classnames. Intended primarily for use in supporting legacy databases.

Gemfile
          gem 'polymorphic_as_table', '~> 0.5.1'
  
  
  
  
  
  
  

install
          gem install polymorphic_as_table
  
  
  
  
  
  
  

Authors:

  • Jeremiah Dodds

Owners:

D91f51b7821268ccce7ccdbb374c3196

jdd

Total downloads 2,094

For this version 1,083

Required Ruby Version: None

Links:

Versions:

  1. 0.5.1 - August 26, 2011 (17.5 KB)
  2. 0.5.0 - August 26, 2011 (9 KB)