aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorWinfred Nadeau <winfred@winfred.io>2017-03-29 09:35:04 -0500
committerGitHub <noreply@github.com>2017-03-29 09:35:04 -0500
commite77d4d1ea5aa23df19581416d8a7fed34f398099 (patch)
treeb8d3a811b79e425f477ead8281790c4e0bceaf95 /activerecord
parent55ccec637212a2232a64f86360b2a25fa1c25759 (diff)
downloadrails-e77d4d1ea5aa23df19581416d8a7fed34f398099.tar.gz
rails-e77d4d1ea5aa23df19581416d8a7fed34f398099.tar.bz2
rails-e77d4d1ea5aa23df19581416d8a7fed34f398099.zip
FinderMethods#fourty_two docs cite proper source
silly method gets a silly doc fix, or I'm missing an even sillier joke and I'm about to get schooled. BUT I'm pretty sure this is some serious Beaudrillard simulacrum, though. I'm just doing my part to spread the gospel of Douglas Adams.
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