I am currently looking for a proper Rails gem for enumerations.
I already tried
- enum_simulator
-
- Both use a string column in the database to store the enum data. Wouldn't an integer column have a better performance or less storage consumption (using MySQL)?
- Is there a gem out there that can already do this?
Thanks a lot!
Update: I found the simple_enum gem which uses integer values to represent the enum within the database. It supports rails 3.1 and is well maintained.