質問編集履歴

1

誤字があったため

2019/12/20 05:39

投稿

widget11
widget11

スコア221

test CHANGED
File without changes
test CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  self.abstract_class = true
8
8
 
9
- scope :relate, -> (user_id, performer_id) { includes(:users).includes(:items) }
9
+ scope :relate, -> { includes(:users).includes(:items) }
10
10
 
11
11
  end
12
12