It would be helpful to see the CustomerController code for the new method, but...
I have to assume that new should be called as:
session[:cart] = SessionCart.new() if session(:cart).nil?
It would be helpful to see the CustomerController code for the new method, but...
I have to assume that new should be called as:
session[:cart] = SessionCart.new() if session(:cart).nil?