diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-02-10 09:01:03 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-02-10 09:01:03 +0900 |
commit | b91a4a082659771d29350008d6ff2cfef0cc4b3d (patch) | |
tree | 529213a716e73f81e0d614d9d06a006e91f9fecb | |
parent | c92ea62792083af8130d9d24f70b9c8ea7badb0b (diff) | |
download | rails-b91a4a082659771d29350008d6ff2cfef0cc4b3d.tar.gz rails-b91a4a082659771d29350008d6ff2cfef0cc4b3d.tar.bz2 rails-b91a4a082659771d29350008d6ff2cfef0cc4b3d.zip |
Fix formatting of `pick` [ci skip]
-rw-r--r-- | activerecord/lib/active_record/relation/calculations.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 <tt>relation.limit(1).pluck(*column_names).first</tt>, 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 |