Sha256: ea09de95632ad835e1886ed1849f5065cfcd0a79c74504f91f3261221f99fd97

Contents?: true

Size: 1021 Bytes

Versions: 4

Compression:

Stored size: 1021 Bytes

Contents

# == Schema Information
#
# Table name: users
#
#  id                     :integer          not null, primary key
#  email                  :string(255)      default(""), not null
#  encrypted_password     :string(255)      default(""), not null
#  reset_password_token   :string(255)
#  reset_password_sent_at :datetime
#  remember_created_at    :datetime
#  sign_in_count          :integer          default(0)
#  current_sign_in_at     :datetime
#  last_sign_in_at        :datetime
#  current_sign_in_ip     :string(255)
#  last_sign_in_ip        :string(255)
#  created_at             :datetime
#  updated_at             :datetime
#

class User < ActiveRecord::Base
  # Include default devise modules. Others available are:
  # :token_authenticatable, :confirmable,
  # :lockable, :timeoutable and :omniauthable
  devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :trackable, :validatable

  has_many :imports, inverse_of: :user
  has_many :export_templates, inverse_of: :user
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
basepack-1.0.1 spec/dummy_app/app/models/user.rb
basepack-1.0.0 spec/dummy_app/app/models/user.rb
basepack-1.0.0.pre.0 spec/dummy_app/app/models/user.rb
basepack-0.2.0 spec/dummy_app/app/models/user.rb