質問編集履歴
1
誤字があったため
test
CHANGED
File without changes
|
test
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
self.abstract_class = true
|
8
8
|
|
9
|
-
scope :relate, ->
|
9
|
+
scope :relate, -> { includes(:users).includes(:items) }
|
10
10
|
|
11
11
|
end
|
12
12
|
|