Improved strategy for updating a belongs_to association when the foreign key...
Improved strategy for updating a belongs_to association when the foreign key changes. Rather than resetting each affected association when the foreign key changes, we should lazily check for 'staleness' (where fk does not match target id) when the association is accessed.
Showing
想要评论请 注册 或 登录