|
|
@ -164,8 +164,6 @@ class User < ApplicationRecord
|
|
|
|
# validates_format_of :mail, with: VALID_EMAIL_REGEX, multiline: true
|
|
|
|
# validates_format_of :mail, with: VALID_EMAIL_REGEX, multiline: true
|
|
|
|
# validates_format_of :phone, with: VALID_PHONE_REGEX, multiline: true
|
|
|
|
# validates_format_of :phone, with: VALID_PHONE_REGEX, multiline: true
|
|
|
|
validate :validate_password_length
|
|
|
|
validate :validate_password_length
|
|
|
|
validate :ID_number, with: VALID_NUMBER_REGE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# validates :nickname, presence: true, length: { maximum: 10 }
|
|
|
|
# validates :nickname, presence: true, length: { maximum: 10 }
|
|
|
|
# validates :lastname, presence: true
|
|
|
|
# validates :lastname, presence: true
|
|
|
|
|
|
|
|
|
|
|
|