From b91a4a082659771d29350008d6ff2cfef0cc4b3d Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Sat, 10 Feb 2018 09:01:03 +0900 Subject: Fix formatting of `pick` [ci skip] --- activerecord/lib/active_record/relation/calculations.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord') diff --git a/activerecord/lib/active_record/relation/calculations.rb b/activerecord/lib/active_record/relation/calculations.rb index 6a3bd6a1f9..6a63eb70b1 100644 --- a/activerecord/lib/active_record/relation/calculations.rb +++ b/activerecord/lib/active_record/relation/calculations.rb @@ -201,7 +201,7 @@ module ActiveRecord end # Pick the value(s) from the named column(s) in the current relation. - # This is short-hand for `relation.limit(1).pluck(*column_names).first`, and is primarily useful + # This is short-hand for relation.limit(1).pluck(*column_names).first, and is primarily useful # when you have a relation that's already narrowed down to a single row. # # Just like #pluck, #pick will only load the actual value, not the entire record object, so it's also -- cgit v1.2.3