Open wakirenpei opened 2 weeks ago
attribute
index
アソシエーション
userモデル側
[ ] userモデル側は複数の目標金額を持つ
[ ] ユーザーは一つもアクティブな目標金額をもつ
SavingsGoalsモデル側
enumで状態を追加(active, achieved, discontinued)
バリデーション
SavingsGoalsテーブルの作成
attribute
index
モデルファイル
アソシエーション
userモデル側
[ ] userモデル側は複数の目標金額を持つ
[ ] ユーザーは一つもアクティブな目標金額をもつ
SavingsGoalsモデル側
enumで状態を追加(active, achieved, discontinued)
バリデーション