Skip to content
代码片段 群组 项目
未验证 提交 1bf5bf9c 编辑于 作者: Abdul Wadood's avatar Abdul Wadood 提交者: GitLab
浏览文件

Validate the presence of default User and UserPreference attributes

We want to make the columns with defaults not null in our database. As
the first step, we want to validate their presence in the models.
`before_validation`s have also been added to allow existing records
to update. Otherwise, new validation would have prevented them from
getting updated.
上级 55be56e6
No related branches found
No related tags found
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册