I have a TYPES list in my model for ADDRESS_STATE_TYPES like 
ADDRESS_STATE_TYPES = 
  [  ['Alabama', 'AL'], ...
Now in my controller i have the value of address_state from the pararms 
list which  for the first in the list would be 'AL' How can I retrieve the 
'Alabama' column in my controller if I have the other value, 'AL' from 
params list
Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/be118090-9621-464d-8a53-0122fc8e975c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to