Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Deprecate attributes_for and build_stubbed"
This reverts commit a883315.
- Loading branch information
1 parent
5780364
commit 2d6adfd
Showing
2 changed files
with
0 additions
and
18 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
2d6adfd
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.
Thank you thank you thank you!
Just for future reference: In addition to the complaint regarding #attributes_for and nil values (here), replacing #build_stubbed with #build was unsatisfactory because the later does not set the "id" attribute, so resulting objects are useless for url_for helpers.