Suppose I want to let a user choose different languages when filling out a
form, like English, Spanish, and Other, where Other is user-specified.

What is the best way to model this in a RoR database?  Is it better to have
a string or an integer that is converted with case-statements to mean
1=English, 2=Spanish, 3=Other...?

Thanks,
Rodrigo

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to