Ruby on rails 在Solidus 1.3上新安装:验证失败:存储can';添加到购物车时不能为空(在solidus hello world安装版本1.3上)
当我在一个基本产品上单击“添加到购物车”时,我得到了这个结果。在spree_stores表中,我有一条“样本存储”记录,因为它由生成器(?)填充 ActiveRecord::RecordInvalid in Spree::OrdersController#populate 验证失败:存储不能为空 完整堆栈跟踪: Gemfile.lockRuby on rails 在Solidus 1.3上新安装:验证失败:存储can';添加到购物车时不能为空(在solidus hello world安装版本1.3上),ruby-on-rails,solidus,Ruby On Rails,Solidus,当我在一个基本产品上单击“添加到购物车”时,我得到了这个结果。在spree_stores表中,我有一条“样本存储”记录,因为它由生成器(?)填充 ActiveRecord::RecordInvalid in Spree::OrdersController#populate 验证失败:存储不能为空 完整堆栈跟踪: Gemfile.lock 通过手动将spree_stores中“样本存储”记录上的“默认”标志设置为true(1),可以解决此问题 改为
通过手动将spree_stores中“样本存储”记录上的“默认”标志设置为true(1),可以解决此问题 改为