Sha256: fd0a3d15a5bd5ac5a5cf9cd30eef9a882ca0358b630aeed0d123695e470a2057
Contents?: true
Size: 355 Bytes
Versions: 7
Compression:
Stored size: 355 Bytes
Contents
class User < ActiveRecord::Base attr_accessible :name, :email, :password, :password_confirmation authenticates_with_sorcery! validates :email, presence: true, email: true validates :password, presence: true, length: { minimum: 6 }, confirmation: true, if: :password end
Version data entries
7 entries across 7 versions & 1 rubygems