Posted By

winson on 04/30/07


session textmate test

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Initialize cart test helper

 / Published in: Rails

  1. # CHANGED: Initialize cart.
  2. def initialize_cart
  3. @cart = @request.session[:cart] ||= Cart.create
  4. end

Report this snippet  

You need to login to post a comment.