回答編集履歴

1

x

2023/01/26 08:37

投稿

yuma.inaura
yuma.inaura

スコア1453

test CHANGED
@@ -8,7 +8,7 @@
8
8
  elsif @sample.destroy
9
9
  render json: @sample
10
10
  else
11
- render json: @sample.errors # ここも適宜調整
11
+ render json: @sample.errors
12
12
  end
13
13
  end
14
14
  ```