If it's a list of items that will never/rarely change (gender is a
good example), it makes sense to put it in a Hash to avoid hitting the
database.

If it's something that would change frequently, it probably makes more
sense to create it as a Model and have it database driven.

A list of eye colors is probably something that won't ever change, so
I'd personally make it a Hash.

--~--~---------~--~----~------------~-------~--~----~
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