Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Doc fix (closes #9323) [Henrik N]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7549 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 0faa4ca04c732803a2e6be3ad7b00d12881f8956 1 parent ecceb87
@dhh dhh authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/lib/active_record/attribute_methods.rb
View
4 activerecord/lib/active_record/attribute_methods.rb
@@ -145,8 +145,8 @@ def evaluate_attribute_method(attr_name, method_definition, method_name=attr_nam
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.
Please sign in to comment.
Something went wrong with that request. Please try again.