Re: I think options_for_select is backwards


#1

— CSN removed_email_address@domain.invalid wrote:

BTW, is there a simple way to swap a hash’s keys and
values (keys become values and vice versa). Probably
with .each ?

Ah, .invert does the trick!


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com