Displaying 1 result from an estimated 1 matches for "sort_choic".
Did you mean:
sort_choice
2006 May 18
3
Two-Dimensional Hashes through links?
...I cannot seem to do this. I am using
link_to_remote and it just kills any hash that is not 1 dimensional. I
was told that GETs can only send 1 dimensional hashes so I set
link_to_remote to send a POST request:
link_to_remote("mylink", :url => {:job => params[:job], :sort =>
sort_choice}, :post => true}
According to WebBrick there is a POST request being sent, but my
two-dimensional hash is still be killed. (turned into 1 dimensional
string) Is there any way at all to send a two-dimensional hash through a
link? Or is this a fundamental limitation of HTTP?
--
Posted via h...