search for: build_custom

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

Did you mean: build_customer
2008 Sep 11
0
session/marshalling
...models is dependent on the other models. So i need to have them linked to each other from the beginning of the registration process. Also I need them to be saved to session. Now the problem is, if I do this: @membership = Membership.new @profile = @membership.build_profile @customer = @membership.build_customer @customer.profile = @profile # <= that’s the problem And then try to save @customer in the session: session[:customer] = @customer There is a 500 internal server error: NoMethodError (undefined method `marshal_dump'' for #<Class:0x2162504>) And that is only if I establish th...