From 3e05aa27c6006a983ef7d3fcc86f8a46ad1ad913 Mon Sep 17 00:00:00 2001 From: Eddie Lebow Date: Wed, 24 Nov 2021 10:54:55 -0500 Subject: [PATCH] Add missing comment char to RDoc comment This fixes incorrect rendering in the generated documentation. on-behalf-of: @Cofense --- activerecord/lib/active_record/relation/calculations.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activerecord/lib/active_record/relation/calculations.rb b/activerecord/lib/active_record/relation/calculations.rb index faa91bc1f5..d1b285101d 100644 --- a/activerecord/lib/active_record/relation/calculations.rb +++ b/activerecord/lib/active_record/relation/calculations.rb @@ -31,7 +31,7 @@ module ActiveRecord # # Article.group(:status, :category).count # # => {["draft", "business"]=>10, ["draft", "technology"]=>4, - # ["published", "business"]=>0, ["published", "technology"]=>2} + # # ["published", "business"]=>0, ["published", "technology"]=>2} # # If #count is used with {Relation#select}[rdoc-ref:QueryMethods#select], it will count the selected columns: #