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
翻翻过去那场雪
相关分类