I am pretty new to Ruby on Rails. Pardon me if it is a pretty basic
I have a combo box built based on a Constant Array
[“American Express”, “AMEX”]
I store the values (i.e. MC, VISA, AMEX) in my database…
When I display the information, I would like to display the keys (i.e.
MasterCard, Visa, American Express) to the user instead of MC, VISA,
How can I search PAYMENT_TYPES to get the keys given a value.
Any help is greatly appreciated.