Sha256: 2b60ecf79aff6e95a88d04693f747dcfb162a90f8d00c1639ef5d39e57322d20

Contents?: true

Size: 577 Bytes

Versions: 28

Compression:

Stored size: 577 Bytes

Contents

class User < ActiveRecord::Base
  acts_as_universal_and_determines_account
  has_one :author
  has_many :posts, :through => :author, :source => 'posts'
  
  # Include default devise modules. Others available are:
  # :lockable, :encryptable,  and :omniauthable
  devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :trackable, :validatable,
         :token_authenticatable, :confirmable, :timeoutable

  # Setup accessible (or protected) attributes for your model
  attr_accessible :email, :password, :password_confirmation, :remember_me
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
milia-0.3.38 test/rails_app/app/models/user.rb
milia-0.3.34 test/rails_app/app/models/user.rb
milia-0.3.33 test/rails_app/app/models/user.rb
milia-0.3.32 test/rails_app/app/models/user.rb
milia-0.3.31 test/rails_app/app/models/user.rb
milia-0.3.30 test/rails_app/app/models/user.rb
milia-0.3.29 test/rails_app/app/models/user.rb
milia-0.3.28 test/rails_app/app/models/user.rb
milia-0.3.27 test/rails_app/app/models/user.rb
milia-0.3.26 test/rails_app/app/models/user.rb
milia-0.3.25 test/rails_app/app/models/user.rb
milia-0.3.24 test/rails_app/app/models/user.rb
milia-0.3.23 test/rails_app/app/models/user.rb
milia-0.3.22 test/rails_app/app/models/user.rb
milia-0.3.21 test/rails_app/app/models/user.rb
milia-0.3.20 test/rails_app/app/models/user.rb
milia-0.3.19 test/rails_app/app/models/user.rb
milia-0.3.18 test/rails_app/app/models/user.rb
milia-0.3.17 test/rails_app/app/models/user.rb
milia-0.3.16 test/rails_app/app/models/user.rb