aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorNicholas Rowe <nixterrimus@gmail.com>2011-02-18 14:43:53 -0500
committerNicholas Rowe <nixterrimus@gmail.com>2011-02-18 14:43:53 -0500
commitad3e4e3af698afda19549505cf82efb5eb6427f2 (patch)
treec0ede1ef4873cdc243e502c283ac799518f7baf2 /activerecord
parent7d9a80be93509b47796318caba08c79ab92f4c8d (diff)
downloadrails-ad3e4e3af698afda19549505cf82efb5eb6427f2.tar.gz
rails-ad3e4e3af698afda19549505cf82efb5eb6427f2.tar.bz2
rails-ad3e4e3af698afda19549505cf82efb5eb6427f2.zip
Clarify Example in ActiveRecord base
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index effb17b2ff..cb3279174f 100644
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -183,7 +183,7 @@ module ActiveRecord #:nodoc:
# Person.find_by_user_name_and_password #with dynamic finder
#
# Person.where(:user_name => user_name, :password => password, :gender => 'male').first
- # Payment.find_by_user_name_and_password_and_gender
+ # Payment.find_by_user_name_and_password_and_gender(user_name, password, 'male')
#
# It's even possible to call these dynamic finder methods on relations and named scopes.
#