Type Attributes plugin
Plugin details
Documentation
Install the plugin:
ruby script/plugin install http://svn.pluginaweek.org/trunk/type_attributes
Description
===============
In Ruby 1.8, type is a deprecated attribute replaced by the class method. However, since type is also used in class inheritance within ActiveRecord, it will not allow you to access the type attribute as defined in a model's table. Instead, it will return the actual class using the deprecated method. This bug fix accesses the actual attribute instead if type is defined as a column in the model's table.
Further Documentation
There is currently no advanced documentation for this plugin.
New documentationEdit plugin | Back in time (1 older version) | Last edited by: obrie572, 6 months ago

