doug tangren wrote:> Is it possible to pass the entire contents of a hash to an action via
> link_to_remote?
>
> I know that when you want to pass a value you say link_to_remote("link
> name", :url => {:action=>"some action", :someName
=> someVal} )
>
> This works for when you want to pass strings but I want to be able to
> pass a reference to a list of models that is stored in a hash to the
> action in the controller. Is this possible?
You''d have to either serialize the hash as a string that can be
posted by the client, or save the hash in a session key and post
back the key so the hash can be retrieved.
--
We develop, watch us RoR, in numbers too big to ignore.