Re: Merging params into another hash

Mark Wilden
Fri, 28 Dec 2007 21:43:56 -0000

On Dec 28, 12:17 pm, Phillip Koebbe
<phillipkoe...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> params is a HashWithIndifferentAccess while my session
> [:people_search] was just a plain old Hash.  When I changed the
> instantiation of session[:people_search] to
> HashWithIndifferentAccess, it works.

Just for my education, would changing the keys from symbols to strings
also have worked?

///ark
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com