teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

文法の修正

2020/08/02 03:20

投稿

yastinbieber
yastinbieber

スコア49

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