Re: I think options_for_select is backwards

— CSN [email protected] 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