Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not trigger on_replace if has_one is being updated
- Loading branch information
José Valim
committed
Oct 16, 2015
1 parent
70f67f4
commit 6c1c043
Showing
3 changed files
with
100 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6c1c043
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this fixes my stackover flow question at
http://stackoverflow.com/questions/33136621/ecto-changeset-related-model-error-on-update