I have a method that I use to create simple drop-down boxes. On bit of code from that method is:
Code:
COMMITMENT = [
		[ "Very Interested", 1 ],
		[ "Somewhat Interested", 2 ],
		[ "Interested", 3 ],
		[ "Not Very Interested", 4 ],
		[ "Uninterested", 5 ]
		].freeze
The integer value is stored in the db. I want to show the string value in a view page. Is there some syntax that will allow me to do that - something like
Code:
<%= method:COMMITTMENT.commitment_id %>
where commitment_id=1, would give me "Very Interested".

Rick