aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2017-04-03 13:28:54 -0400
committerRafael Mendonça França <rafaelmfranca@gmail.com>2017-04-03 13:28:54 -0400
commit5993b47e54ddf7befe77469f13365c815ac97022 (patch)
treed644425e22fba203415f12caea4344d1b86784fe /activerecord/lib
parentd52573122bc92c75511b79d4bd88a36734a16d9b (diff)
downloadrails-5993b47e54ddf7befe77469f13365c815ac97022.tar.gz
rails-5993b47e54ddf7befe77469f13365c815ac97022.tar.bz2
rails-5993b47e54ddf7befe77469f13365c815ac97022.zip
Revert "Merge pull request #28598 from wnadeau/patch-1"
This reverts commit a680a5814184e2f37c4686aa53d0ad3c7fb6b1ee, reversing changes made to 842f67dd242e738419f27e752ea7dcd0bbe87b6d. Reason: I can't resist to the joke, so better to keep it there https://github.com/rails/rails/pull/28598#issuecomment-290945339.
Diffstat (limited to 'activerecord/lib')
-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 34a3615070..5d24f5f5ca 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 answer to life the universe and everything".
+ # Find the forty-second record. Also known as accessing "the reddit".
# If no order is defined it will order by primary key.
#
# Person.forty_two # returns the forty-second object fetched by SELECT * FROM people