Sha256: 690ba361e2fb7269aa6c39e40d193dee073dee88a7cc407f685f118de2b37f30
Contents?: true
Size: 519 Bytes
Versions: 7
Compression:
Stored size: 519 Bytes
Contents
class User < ActiveRecord::Base # Include default devise modules. Others available are: # :token_authenticatable, :encryptable, :confirmable, :lockable, :timeoutable and :omniauthable devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable validates :name, :presence => true, :length => { :maximum => 50 } # Setup accessible (or protected) attributes for your model attr_accessible :name, :email, :password, :password_confirmation, :remember_me end
Version data entries
7 entries across 7 versions & 2 rubygems