Sha256: 20985958a922853458f15c783ce3c2df31090397e5811e4d2c40a6eea182b5b8
Contents?: true
Size: 253 Bytes
Versions: 4
Compression:
Stored size: 253 Bytes
Contents
class User < ActiveRecord::Base has_many :todos has_many :user_roles has_many :roles, through: :user_roles has_secure_password validations: false validates :email, presence: true, uniqueness: true validates :password, presence: true end
Version data entries
4 entries across 4 versions & 1 rubygems