you can transmit values between controllers in the following ways:
- parameters to request (if not too long and not compromising
security)
- session (recommended to store id, not objects)

On Jan 8, 10:52 am, MaD <[email protected]> wrote:
> On 8 Jan., 10:29, Mukund <[email protected]> wrote:
>
> > Use the flash object to transfer data between controller actions.
>
> ... or just add
>
>   , :created_patient => params[:created_patient]
>
> to your form (where you specify the action that is called) so your
> param ain't lost.
--~--~---------~--~----~------------~-------~--~----~
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