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.