Sha256: 8be6b59d164b2dc2e6b21a0a9f2cd8172c04252cc4adc0404ea8b92a39843546
Contents?: true
Size: 506 Bytes
Versions: 4
Compression:
Stored size: 506 Bytes
Contents
class User < Crowdblog::User # Include default devise modules. Others available are: # :token_authenticatable, :encryptable, :confirmable, :lockable, :timeoutable and :omniauthable devise :database_authenticatable, :token_authenticatable, :trackable # Setup accessible (or protected) attributes for your model attr_accessible :email, :password, :password_confirmation, :remember_me, :name, :is_publisher validate :email, uniqueness: true def valid_password?(password) true end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
crowdblog-0.0.7 | spec/dummy/app/models/user.rb |
crowdblog-0.0.6 | spec/dummy/app/models/user.rb |
crowdblog-0.0.5 | spec/dummy/app/models/user.rb |
crowdblog-0.0.4 | spec/dummy/app/models/user.rb |