= acts_as_enumeration
+acts_as_enumeration+ adds support for declaring an ActiveRecord class as an
enumeration.
== Resources
Announcement
* http://www.pluginaweek.org
Wiki
* http://wiki.pluginaweek.org/Acts_as_enumeration
API
* http://api.pluginaweek.org/acts_as_enumeration
Development
* http://dev.pluginaweek.org/browser/trunk/plugins/active_record/acts/acts_as_enumeration
Source
* http://svn.pluginaweek.org/trunk/plugins/active_record/acts/acts_as_enumeration
== Description
Support for enumerations is dependent on the type of database you use. For
example, MySQL has native support for the enum data type. However, there is
no native Rails support for defining enumerations and the associations between
it and other models in the application.
acts_as_enumeration adds support for enumerations in Rails by providing methods
for interacting with records in a table as if they were values in an
enumeration.
See the API for usage examples.
== Testing
Before you can run any tests, the following gem must be installed:
* plugin_test_helper[http://wiki.pluginaweek.org/Plugin_test_helper]
== References
Trevor Squires - enumerations_mixin[http://svn.protocool.com/rails/plugins/enumerations_mixin]