From 7bb34b12f09bdd94fe285caa18501aeffd1c64e6 Mon Sep 17 00:00:00 2001 From: Tatsuro Baba Date: Fri, 18 Jan 2013 18:14:18 +0900 Subject: Remove useless number sign I think that these signs are probably mistake. --- activerecord/lib/active_record/base.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activerecord/lib/active_record') diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index bf5793d454..e262401da6 100644 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -162,8 +162,8 @@ module ActiveRecord #:nodoc: # # Dynamic attribute-based finders are a cleaner way of getting (and/or creating) objects # by simple queries without turning to SQL. They work by appending the name of an attribute - # to find_by_ # like Person.find_by_user_name. - # Instead of writing # Person.where(user_name: user_name).first, you just do + # to find_by_ like Person.find_by_user_name. + # Instead of writing Person.where(user_name: user_name).first, you just do # Person.find_by_user_name(user_name). # # It's possible to add an exclamation point (!) on the end of the dynamic finders to get them to raise an -- cgit v1.2.3