saberma/shopqi — Issue #248: ActiveRecord::StatementInvalid in Shop::CartController#update
Author: liwh
Created: 2011-11-09 16:53:10+00:00
State: open
Labels: 缺陷

PGError: ERROR: null value in column "session_id" violates not-null constraint
: INSERT INTO "carts" ("cart_hash", "created_at", "customer_id", "session_id", "shop_id", "token", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"