Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Elaborate doc for attribute read and write methods [ci-skip]
This commit elaborates the documentation for the Active Record `#[]`, `#[]=`, and `#read_attribute` methods, including adding pointers to `ActiveModel::Type` for information about specific type casting behavior. In turn, this commit removes the note about casting empty strings from the `#write_attribute` method.
- Loading branch information
1 parent
8d9f525
commit 20bc41a
Showing
3 changed files
with
24 additions
and
20 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