このコミットが含まれているのは:
2025-05-15 02:21:42 +09:00
コミット 4cf3fc4d8c
12個のファイルの変更124行の追加57行の削除
+7
ファイルの表示
@@ -0,0 +1,7 @@
class Setting < ApplicationRecord
belongs_to :user
validates :user_id, presence: true
validates :key, presence: true, length: { maximum: 255 }
validates :value, presence: true
end