On 10 September 2011 00:41, Toby Rodwell <[email protected]> wrote:
> I have a controller that produces (through its associated 'view'
> displays summary information of) a number of arrays.  On that view page
> I would like links to other pages, one per array, which shows more
> detailed information on the array in question.  I tried passing the
> array as a parameter to a link and whilst I think that would have been
> fine for small arrays for a large array I was getting "URI too large".
> Since I don't have admin rights to the web server I don't think I can
> tweak the http buffer settings, and anyway I don't think very long URLs
> are elegant.  What other ways are there to achieve what I am after?  One
> suggstion I saw was using a session - is that the best way ("the Ruby
> way") to pass data between controllers?  Any suggstions gratefully
> received.

If possible then do not pass the array to the url, just pass whatever
information is required to re-generate the array in the subsequent
action.

-- 
Colin
https://plus.google.com/111605230843729345543/

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to