Sha256: e142cf0594deada6b8bbe0545ea535b03ef2ac996635f6dcbe93e1a9afd78a48
Contents?: true
Size: 296 Bytes
Versions: 7
Compression:
Stored size: 296 Bytes
Contents
# frozen_string_literal: true module UserValidation extend ActiveSupport::Concern included do validates :email, presence: true validates :encrypted_password, presence: true validates :sign_in_count, presence: true, numericality: true validates_uniqueness_of :email end end
Version data entries
7 entries across 7 versions & 1 rubygems