Sha256: 729146572e6cfbfce3dcd430723c3cc13ce1b4f32a6e0d759e595a8edfa0c68c

Contents?: true

Size: 216 Bytes

Versions: 3

Compression:

Stored size: 216 Bytes

Contents

class User < ActiveRecord::Base
  devise :database_authenticatable, :password_sharing

  attr_accessible :email, :username, :password, :password_confirmation

  validates :username, :length => { :maximum => 20 }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
devise_password_sharing_extension-0.0.4 spec/rails_app/app/models/user.rb
devise_password_sharing_extension-0.0.2 spec/rails_app/app/models/user.rb
devise_password_sharing_extension-0.0.1 spec/rails_app/app/models/user.rb