Sha256: df53cf1ab014a1327891f527c4610479ed3dcec9bafb5fcd552a0efcbd37bf4e
Contents?: true
Size: 570 Bytes
Versions: 1
Compression:
Stored size: 570 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 # Setup accessible (or protected) attributes for your model attr_accessible :email, :password, :password_confirmation, :remember_me # Is the current user a blog administrator? Always true for this example # application. def blog_admin? true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_blog_engine-0.0.4 | spec/dummy/app/models/user.rb |