This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
FIX code bug
tags/v3.0.2
jasder
5 years ago
parent
50fb8d3983
commit
e022e429d4
1 changed files
with
8 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-0
app/forms/users/update_info_form.rb
+ 8
- 0
app/forms/users/update_info_form.rb
View File
@@ -0,0 +1,8 @@
class Users::UpdateInfoForm
include ActiveModel::Model
attr_accessor :email, :password
validates :email, presence: true, format: { with: CustomRegexp::EMAIL }
validates :password, presence: true
end
Write
Preview
Loading…
Cancel
Save