diff options
author | Chris Kampmeier <chris@kampers.net> | 2008-11-30 19:43:10 -0800 |
---|---|---|
committer | Chris Kampmeier <chris@kampers.net> | 2008-11-30 19:46:43 -0800 |
commit | e264337c7b6ca2700bc1b63acd1a50badf644d0f (patch) | |
tree | 9683d0b4d550a61f66042d87d3e4a5cf5d8ee612 /activerecord/lib | |
parent | e2380600d1940a6dd8c6d5e940a5a3c5606914a6 (diff) | |
download | rails-e264337c7b6ca2700bc1b63acd1a50badf644d0f.tar.gz rails-e264337c7b6ca2700bc1b63acd1a50badf644d0f.tar.bz2 rails-e264337c7b6ca2700bc1b63acd1a50badf644d0f.zip |
ActiveRecord#to_param docs: fix a few singular/plural errors
Diffstat (limited to 'activerecord/lib')
-rwxr-xr-x | activerecord/lib/active_record/base.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index c8bb595de8..57a380cb3c 100755 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -2323,15 +2323,15 @@ module ActiveRecord #:nodoc: # object. The default implementation returns this record's id as a String, # or nil if this record's unsaved. # - # For example, suppose that you have a Users model, and that you have a - # <tt>map.resources :users</tt> route. Normally, +users_path+ will - # construct an URI with the user object's 'id' in it: + # For example, suppose that you have a User model, and that you have a + # <tt>map.resources :users</tt> route. Normally, +user_path+ will + # construct a path with the user object's 'id' in it: # # user = User.find_by_name('Phusion') # user_path(path) # => "/users/1" # - # You can override +to_param+ in your model to make +users_path+ construct - # an URI using the user's name instead of the user's id: + # You can override +to_param+ in your model to make +user_path+ construct + # a path using the user's name instead of the user's id: # # class User < ActiveRecord::Base # def to_param # overridden |