Forum: Ruby on Rails object in a session

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
734a7bce0ec28ecc63ab0bc92cfa3182?d=identicon&s=25 Pablo (Guest)
on 2007-06-08 19:03

I am working on a e-store. I have a page where user puts his
address and info, and also chooses form of shipment. When he/she submits
i want to display the data he/she just entered + add the costs of
shippment. The cart is already in a session and i just add the costs of
shipment to cart total. The question is how should i do this. Is putting
the @order object in a session is the right thing to do, and then after
confirm just save it? Or maybe i am missing something.
This topic is locked and can not be replied to.