mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Doc fix (closes #9323) [Henrik N]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7549 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
ecceb87358
commit
0faa4ca04c
1 changed files with 2 additions and 2 deletions
|
@ -145,8 +145,8 @@ module ActiveRecord
|
|||
end # ClassMethods
|
||||
|
||||
|
||||
# Allows access to the object attributes, which are held in the @attributes hash, as were
|
||||
# they first-class methods. So a Person class with a name attribute can use Person#name and
|
||||
# Allows access to the object attributes, which are held in the @attributes hash, as though they
|
||||
# were first-class methods. So a Person class with a name attribute can use Person#name and
|
||||
# Person#name= and never directly use the attributes hash -- except for multiple assigns with
|
||||
# ActiveRecord#attributes=. A Milestone class can also ask Milestone#completed? to test that
|
||||
# the completed attribute is not nil or 0.
|
||||
|
|
Loading…
Reference in a new issue