In my model i have: PRIORITY_TYPES = [ [ ''Trivial", "1" ], [ "Minor", "2" ], [ "Major", "3" ] ] in my new entry form i have: <%= form.select(:status, Project::STATUS_TYPES, :prompt => "Select Status") %> in my view/project/list i have : <%= h(project.status) %> but when my controller lists the project details it only shows the "id" of the select instead of the name in the model. How do i resolve the name to id relationship for the view? any help you have would be great, Thank you, --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---