Revert "Avoid extra scoping when using `Relation#update`"
This reverts commit 0b29a421. Reason: This introduce a breaking change when you call `update` in a relation or an association proxy passing the id argument. Person.books.update(10, title: 'New title')
Showing
想要评论请 注册 或 登录