diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-09-22 17:39:55 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-09-22 17:39:55 +0000 |
commit | 0faa4ca04c732803a2e6be3ad7b00d12881f8956 (patch) | |
tree | 67f83242f1400cadc91282c1db76cab0d2153b80 | |
parent | ecceb87358576ce753d0ca55756c92be7ea0aa5f (diff) | |
download | rails-0faa4ca04c732803a2e6be3ad7b00d12881f8956.tar.gz rails-0faa4ca04c732803a2e6be3ad7b00d12881f8956.tar.bz2 rails-0faa4ca04c732803a2e6be3ad7b00d12881f8956.zip |
Doc fix (closes #9323) [Henrik N]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7549 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r-- | activerecord/lib/active_record/attribute_methods.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/attribute_methods.rb b/activerecord/lib/active_record/attribute_methods.rb index 460b5ff244..5f52be1c1d 100644 --- a/activerecord/lib/active_record/attribute_methods.rb +++ b/activerecord/lib/active_record/attribute_methods.rb @@ -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. |