Hi,
I have values in my database stored as integers:
1, 2, 3, 4, 5
When I retrieve and display these values in a List or Show, I want to
map them to text such as:
Text1, Text2, Text3, Text4, Text5
What’s the easiest way to do this?
Thanks,
David
Hi,
I have values in my database stored as integers:
1, 2, 3, 4, 5
When I retrieve and display these values in a List or Show, I want to
map them to text such as:
Text1, Text2, Text3, Text4, Text5
What’s the easiest way to do this?
Thanks,
David
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs