Re: [Rails] Passing values between controllers

2012-06-28 Thread aash dhariya
i think you can pass data as the get parameters along with the request i.e generate the url which contains the parameters that you want to pass On Thu, Jun 28, 2012 at 4:02 AM, cyber c. wrote: > Hi, > > I have 2 controllers A and B. The create method in controller A is > programmed to redirect t

[Rails] Passing values between controllers

2012-06-27 Thread cyber c.
Hi, I have 2 controllers A and B. The create method in controller A is programmed to redirect to B#index method. I want to pass data between my controllers, so i have made use of the params hash. But i cannot access the params hash on the index method of B controller. what is the right way to pass