diff --git a/activerecord/lib/active_record/attribute_methods.rb b/activerecord/lib/active_record/attribute_methods.rb index 460b5ff2446973cdedbdfc36353dd0e66c3a81f9..5f52be1c1d6a2b11647493798a99422a07337be7 100644 --- a/activerecord/lib/active_record/attribute_methods.rb +++ b/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.