From ad3e4e3af698afda19549505cf82efb5eb6427f2 Mon Sep 17 00:00:00 2001 From: Nicholas Rowe Date: Fri, 18 Feb 2011 14:43:53 -0500 Subject: Clarify Example in ActiveRecord base --- activerecord/lib/active_record/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/lib') 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. # -- cgit v1.2.3