diff options
author | Chris Kampmeier <chris@kampers.net> | 2009-01-11 20:47:01 -0800 |
---|---|---|
committer | Chris Kampmeier <chris@kampers.net> | 2009-01-11 20:47:01 -0800 |
commit | 2a00f72acad1657b08ec4cef515ffbb693883aa3 (patch) | |
tree | 944f29e22df1b6bf8301a96b7b49fb54296a133a /activerecord/lib/active_record/named_scope.rb | |
parent | efce9aa71bf589e18e05b1ec613ab3f0dd717083 (diff) | |
download | rails-2a00f72acad1657b08ec4cef515ffbb693883aa3.tar.gz rails-2a00f72acad1657b08ec4cef515ffbb693883aa3.tar.bz2 rails-2a00f72acad1657b08ec4cef515ffbb693883aa3.zip |
Docs: in typical usage, "descendant" is the noun and "descendent" is the adjective
Diffstat (limited to 'activerecord/lib/active_record/named_scope.rb')
-rw-r--r-- | activerecord/lib/active_record/named_scope.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/named_scope.rb b/activerecord/lib/active_record/named_scope.rb index 83043c2c22..989b2a1ec5 100644 --- a/activerecord/lib/active_record/named_scope.rb +++ b/activerecord/lib/active_record/named_scope.rb @@ -39,7 +39,7 @@ module ActiveRecord # Nested finds and calculations also work with these compositions: <tt>Shirt.red.dry_clean_only.count</tt> returns the number of garments # for which these criteria obtain. Similarly with <tt>Shirt.red.dry_clean_only.average(:thread_count)</tt>. # - # All \scopes are available as class methods on the ActiveRecord::Base descendent upon which the \scopes were defined. But they are also available to + # All \scopes are available as class methods on the ActiveRecord::Base descendant upon which the \scopes were defined. But they are also available to # <tt>has_many</tt> associations. If, # # class Person < ActiveRecord::Base |