search for: vendor_other

Displaying 1 result from an estimated 1 matches for "vendor_other".

2006 May 04
4
Two Models one form
...ndor expected, got String." Do I need to manually insert the vendor data in the controller? Like this: @reg = Registration.new(params[:registration]) @reg.vendor.donation = params[:vendor_donation] @reg.vendor.monetary_donation = params[:vendor_monetary_donation] @reg.vendor.other = params[:vendor_other] @reg.vendor.electricity = params[:vendor_electricity] Or is there an easier way? -- Posted via http://www.ruby-forum.com/.