Frederick Cheung wrote:
> On 10 Oct 2008, at 10:35, Jay Pangmi wrote:
> Fred

Sorry for the silly questions, so will I save carts id in the session. 
Can this work?

@cart=Cart.new(params[:cart])

session[:[EMAIL PROTECTED]

and later how can I retrieve id from the session?

thanks Fred.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to