diff options
author | Tatsuro Baba <harakirisoul@gmail.com> | 2013-01-18 18:14:18 +0900 |
---|---|---|
committer | Tatsuro Baba <harakirisoul@gmail.com> | 2013-01-18 18:14:18 +0900 |
commit | 7bb34b12f09bdd94fe285caa18501aeffd1c64e6 (patch) | |
tree | 7f0d4cc630079479543f571b4db6a1f3fc0ee872 /activerecord | |
parent | 3fa73324c59299e4c9ac68b81fa84fd7eea8eaac (diff) | |
download | rails-7bb34b12f09bdd94fe285caa18501aeffd1c64e6.tar.gz rails-7bb34b12f09bdd94fe285caa18501aeffd1c64e6.tar.bz2 rails-7bb34b12f09bdd94fe285caa18501aeffd1c64e6.zip |
Remove useless number sign
I think that these signs are probably mistake.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/base.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 <tt>find_by_</tt> # like <tt>Person.find_by_user_name</tt>. - # Instead of writing # <tt>Person.where(user_name: user_name).first</tt>, you just do + # to <tt>find_by_</tt> like <tt>Person.find_by_user_name</tt>. + # Instead of writing <tt>Person.where(user_name: user_name).first</tt>, you just do # <tt>Person.find_by_user_name(user_name)</tt>. # # It's possible to add an exclamation point (!) on the end of the dynamic finders to get them to raise an |