Re: [Rails] Passing arrays between controllers/views

2011-09-10 Thread Colin Law
On 10 September 2011 00:41, Toby Rodwell li...@ruby-forum.com 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

[Rails] Passing arrays between controllers/views

2011-09-09 Thread Toby Rodwell
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

Re: [Rails] Passing arrays between controllers/views

2011-09-09 Thread Michael Pavling
On 10 September 2011 00:41, Toby Rodwell li...@ruby-forum.com wrote: 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 your data is as