Hi, In my form A I accept data for 2 models. After validation if everything is fine, then I accept rest of the data in form B. Now how can I pass the data from A to B for display. One way is that I pass all the individual field data as parameters with redirect. Is there any way I can pass the whole model which I created as : @merchant =Merchant.new(@params['merchant']) Now how do I pass this @merchant, so that all the fields on form B for merchant are prefilled? Thanks.
on 2007-02-15 21:59
on 2007-02-16 01:57
you can store your model data in a session and then retrieve it when loading the next form Mike