質問編集履歴
1
文法の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -55,9 +55,10 @@
|
|
55
55
|
|
56
56
|
```
|
57
57
|
```
|
58
|
-
class Workoutdiary < ApplicationRecord
|
59
58
|
## models/workoutdiary.rb
|
60
59
|
|
60
|
+
class Workoutdiary < ApplicationRecord
|
61
|
+
|
61
62
|
# validates :settype, :weight, :reps, presence: true
|
62
63
|
|
63
64
|
belongs_to :user
|