Sha256: 1e31c51f5d040774d2c7457188255f13033dae114b2830b29755e6b4de6f10c6

Contents?: true

Size: 535 Bytes

Versions: 8

Compression:

Stored size: 535 Bytes

Contents

class User < Crowdblog::User
  gravtastic :gravatar_email

  # 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

8 entries across 8 versions & 1 rubygems

Version Path
crowdblog-0.0.16 spec/dummy/app/models/user.rb
crowdblog-0.0.15 spec/dummy/app/models/user.rb
crowdblog-0.0.14 spec/dummy/app/models/user.rb
crowdblog-0.0.13 spec/dummy/app/models/user.rb
crowdblog-0.0.12 spec/dummy/app/models/user.rb
crowdblog-0.0.10 spec/dummy/app/models/user.rb
crowdblog-0.0.9 spec/dummy/app/models/user.rb
crowdblog-0.0.8 spec/dummy/app/models/user.rb