diff options
author | Michael Koziarski <michael@koziarski.com> | 2008-03-26 02:44:16 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-03-26 02:44:16 +0000 |
commit | 5c47ceb30b940a8cd8eb681a898895bce46f79dd (patch) | |
tree | 0730a3ef0e99ef742b57dafc4e1eaa52d5e7919a | |
parent | dcbdd004fc3b28ec976ffa946954f1700e3a553d (diff) | |
download | rails-5c47ceb30b940a8cd8eb681a898895bce46f79dd.tar.gz rails-5c47ceb30b940a8cd8eb681a898895bce46f79dd.tar.bz2 rails-5c47ceb30b940a8cd8eb681a898895bce46f79dd.zip |
Typo fix in documentation from [9090] References #11422
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9092 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rwxr-xr-x | activerecord/lib/active_record/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index eeb728f60d..ff72656e85 100755 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -255,7 +255,7 @@ module ActiveRecord #:nodoc: # actually Person.find_by_user_name(user_name, options). So you could call <tt>Payment.find_all_by_amount(50, :order => "created_on")</tt>. # # The same dynamic finder style can be used to create the object if it doesn't already exist. This dynamic finder is called with - # <tt>find_or_create_by_</tt> and will return the object if it already exists and otherwise creates it, then returns it. Protected attributes won't be setted unless they are given in a block. For example: + # <tt>find_or_create_by_</tt> and will return the object if it already exists and otherwise creates it, then returns it. Protected attributes won't be set unless they are given in a block. For example: # # # No 'Summer' tag exists # Tag.find_or_create_by_name("Summer") # equal to Tag.create(:name => "Summer") |