質問編集履歴
1
コードを一部修正しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
|
14
14
|
|
15
|
-
`Lesson.where(lesson_day: Date.new(2020, 4, 1)..Date.new(2021, 3, 31)).group("extract(month from lesson_day)").order("extract_month_from_lesson_day
|
15
|
+
`Lesson.where(lesson_day: Date.new(2020, 4, 1)..Date.new(2021, 3, 31)).group("extract(month from lesson_day)").order("extract_month_from_lesson_day").count`
|
16
16
|
|
17
17
|
|
18
18
|
|