FIX code bug
This commit is contained in:
parent
50fb8d3983
commit
e022e429d4
|
@ -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
|
Loading…
Reference in New Issue