ruby1.9.3,rails4.1.5private def ensure_not_referenced_by_any_line_itemif line_items.empty?return trueelseputs "errors ------------------>:"+errors.to_serrors.add(:base,'存在在线商品!')retuen falseendend
- 1 回答
- 0 关注
- 66 浏览
添加回答
举报
0/150
提交
取消