Hi group,
I’m hopefully right in here, coming frm perl trying to realize my first
rails project with support from dhh’s book in my hands.
I have the following (simple?) task : A user shall be able to submit
different data in different forms and at the end of the process this
data shall be stored in different tables. First page asks for adress
data, second one for order details, third for shipping details and the
last for payment info. (4 tables so far).
So I (should?) store all the info in a session object just like a
virtual shopping cart? So far i need 4 models: Adress, Orderdetail,
Shippingdetail, Paymentinfo. If I create 4 inputforms now, I can push
the data into my tables just in time, this is, what I dont want.
Instead I need to hold the given data in my session object and store it
finally.
So I should create another model for my sessionobject and name it Cart?
After reading an realizing the example from dhh’s book I am a liitle
confused.
Maybe someone can point me in the right direction.
Thx in advance
Jason