aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-03-29 12:31:23 -0400
committerGitHub <noreply@github.com>2017-03-29 12:31:23 -0400
commita680a5814184e2f37c4686aa53d0ad3c7fb6b1ee (patch)
treeb0759807516b9b202264f9f65c7d954d6320dfbb /activerecord
parent842f67dd242e738419f27e752ea7dcd0bbe87b6d (diff)
parente77d4d1ea5aa23df19581416d8a7fed34f398099 (diff)
downloadrails-a680a5814184e2f37c4686aa53d0ad3c7fb6b1ee.tar.gz
rails-a680a5814184e2f37c4686aa53d0ad3c7fb6b1ee.tar.bz2
rails-a680a5814184e2f37c4686aa53d0ad3c7fb6b1ee.zip
Merge pull request #28598 from wnadeau/patch-1
FinderMethods#fourty_two docs cite proper source
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/relation/finder_methods.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation/finder_methods.rb b/activerecord/lib/active_record/relation/finder_methods.rb
index 5d24f5f5ca..34a3615070 100644
--- a/activerecord/lib/active_record/relation/finder_methods.rb
+++ b/activerecord/lib/active_record/relation/finder_methods.rb
@@ -224,7 +224,7 @@ module ActiveRecord
fifth || raise_record_not_found_exception!
end
- # Find the forty-second record. Also known as accessing "the reddit".
+ # Find the forty-second record. Also known as accessing "the answer to life the universe and everything".
# If no order is defined it will order by primary key.
#
# Person.forty_two # returns the forty-second object fetched by SELECT * FROM people