debian-mirror-gitlab/derailed-benchmarks/test/rails_app/app/models/user.rb

14 lines
495 B
Ruby
Raw Normal View History

2019-10-03 14:02:42 +05:30
# frozen_string_literal: true
class User < ActiveRecord::Base
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable and :omniauthable
devise :database_authenticatable, :recoverable,
:registerable, :rememberable, :timeoutable,
:trackable, :validatable
# Setup accessible (or protected) attributes for your model
# attr_accessible :email, :password, :password_confirmation, :remember_me
# attr_accessible :title, :body
end