What's new in edge Rails: Active Record enums

Posted . Visible to the public.

Declare an enum attribute where the values map to integers in the database, but can be queried by name.

Thomas Eisenbarth
License
Source code in this card is licensed under the MIT License.
Posted by Thomas Eisenbarth to makandra dev (2014-04-08 06:08)