How does Rails determine/translate the type of an enum column in MySQL? I created an enum column and the edit page generated by the scaffold didn''t have any edit widget (text box or---what would be perfect---dropdown menu) for editing the enum column''s value. Jim -- Jim Menard, jimm-Xhj3G7Rj6JI@public.gmane.org, http://www.io.com/~jimm/ [On the Apple supercomputer at Virginia Tech] "Besides if an AI manifests itself it''d be less likely to destroy the world and more likely to tell you that your white socks do not match your purple tie." -- Epistax on Slashdot
> How does Rails determine/translate the type of an enum column in > MySQL? I created an enum column and the edit page generated by the > scaffold didn''t have any edit widget (text box or---what would be > perfect---dropdown menu) for editing the enum column''s value.Currently no support for enums. We use a varchar and keep the available options in the application instead. -- David Heinemeier Hansson, http://www.basecamphq.com/ -- Web-based Project Management http://www.rubyonrails.org/ -- Web-application framework for Ruby http://macromates.com/ -- TextMate: Code and markup editor (OS X) http://www.loudthinking.com/ -- Broadcasting Brain