Using ENUMs with Rails - See John Code

Posted . Visible to the public.

This sounds promising:

The best part from the Rails side, is that you don’t have to change anything at all in your code to swap a varchar out for an ENUM.

Profile picture of Arne Hartherz
Arne Hartherz
License
Source code in this card is licensed under the MIT License.
Posted by Arne Hartherz to makandra dev (2012-06-20 16:38)