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.

Versions:

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

Authors:

  • Jeremiah Dodds

Owners:

D91f51b7821268ccce7ccdbb374c3196

Total downloads 2,142

For this version 1,104

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'polymorphic_as_table', '~> 0.5.1' = Copy to clipboard Copied!

install:
gem install polymorphic_as_table = Copy to clipboard Copied!

Links: