aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramitkumarsuroliya <amitkumarsuroliya@gmail.com>2015-09-25 22:11:42 +0530
committeramitkumarsuroliya <amitkumarsuroliya@gmail.com>2015-09-25 22:11:42 +0530
commit663d1856cfaaeb47f59487105f58b7310817b418 (patch)
tree44f57b0a2b0c977409277a564914fcbd1808d92c
parent3c52b2000cbee716b5e449974c312c4fb552f64f (diff)
downloadrails-663d1856cfaaeb47f59487105f58b7310817b418.tar.gz
rails-663d1856cfaaeb47f59487105f58b7310817b418.tar.bz2
rails-663d1856cfaaeb47f59487105f58b7310817b418.zip
docs, add missing closing bracket. [ci skip]
-rw-r--r--activerecord/lib/active_record/relation/query_methods.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation/query_methods.rb b/activerecord/lib/active_record/relation/query_methods.rb
index 038280509d..79bd5c55d3 100644
--- a/activerecord/lib/active_record/relation/query_methods.rb
+++ b/activerecord/lib/active_record/relation/query_methods.rb
@@ -264,7 +264,7 @@ module ActiveRecord
# Returns an array with distinct records based on the +group+ attribute:
#
# User.select([:id, :name])
- # => [#<User id: 1, name: "Oscar">, #<User id: 2, name: "Oscar">, #<User id: 3, name: "Foo">
+ # => [#<User id: 1, name: "Oscar">, #<User id: 2, name: "Oscar">, #<User id: 3, name: "Foo">]
#
# User.group(:name)
# => [#<User id: 3, name: "Foo", ...>, #<User id: 2, name: "Oscar", ...>]