質問編集履歴

1

jb

2020/09/18 08:23

投稿

yakumo02
yakumo02

スコア103

test CHANGED
File without changes
test CHANGED
@@ -158,7 +158,7 @@
158
158
 
159
159
  def create
160
160
 
161
- @school = School.create(name: name_params[:name],tounament_id: new_params[:tournament_id])
161
+ @school = School.create(name_params)
162
162
 
163
163
  if @school.save
164
164