Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new behavior of
undefine_attribute_methods
to CHANGELOG
In `1818beb3a3ea5fdb498095d4885f8a7e512f24ca` Rails changed the target where alias attribute methods are defined. It lead to `undefine_attribute_methods` to clean alias attribute methods along with the attribute methods. It was an intended behavior change but it wasn't properly documented and tested. This commit clarifies the new behavior in the Active Model changelog along with covering the behavior with tests.
- Loading branch information
1 parent
ed5af00
commit e50fce0
Showing
3 changed files
with
44 additions
and
0 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