Skip to content

Commit

Permalink
Clarify Example in ActiveRecord base
Browse files Browse the repository at this point in the history
  • Loading branch information
nixterrimus committed Feb 18, 2011
1 parent 7d9a80b commit ad3e4e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/base.rb
Expand Up @@ -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.
#
Expand Down

0 comments on commit ad3e4e3

Please sign in to comment.