Sha256: 3c9be2ed134e3b2252026f29cb07bdb3a2bc1579d414232828aab6de488c1adb
Contents?: true
Size: 358 Bytes
Versions: 7
Compression:
Stored size: 358 Bytes
Contents
class User < ActiveRecord::Base # Connects this user object to Sufia behaviors. include Sufia::User devise :recoverable, :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable def password; 'password'; end def agree_to_terms_of_service! update_column(:agreed_to_terms_of_service, true) end end
Version data entries
7 entries across 7 versions & 1 rubygems