Colin ShieldColin Shield
Standup 12/19/2008 Enumeration mixin and Rails 2.2
edit Posted by Colin Shield on Saturday December 20, 2008 at 10:33PM

One project reported a problem with the enumeration mixin when upgrading to Rails 2.2. The problem was with the all method.

The enumerations mixin allows you to treat instances of your ActiveRecord models as though they were an enumeration of values.

The proposed solution is to switch to in memory enumeration instead of using ActiveRecord.