会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Mr-chen
首页
管理
2017年12月12日
12月12日 has_many through:的interference, option
摘要: build定义:collection.build(attributes = {}, …) 本例子中collection换成cart_items. 说明:这个method返回一个或多个new objects of the associated type.但关联的对象尚未保存。需要save. Creat
阅读全文
posted @ 2017-12-12 11:20 Mr-chen
阅读(368)
评论(0)
推荐(0)
编辑