Skip to content

How to update with Associations #14014

Discussion options

You must be logged in to vote

The Model#save, Model.update, and Model#update methods are not aware of associations, but you can call save on the associated entity itself

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ephys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: docs For issues and PRs. Things related to documentation, such as changes in the manuals / API reference.
2 participants
Converted from issue

This discussion was converted from issue #14013 on January 25, 2022 20:45.