Sha256: 9ab5ed683ac5a44aeb73cbaa771ba569ef28fa0c7abb539afe8d7fbcc31b80c0
Contents?: true
Size: 1.25 KB
Versions: 14
Compression:
Stored size: 1.25 KB
Contents
class User < ActiveRecord::Base # Include default devise modules. Others available are: # :confirmable, :lockable, :timeoutable and :omniauthable devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable validates :email, :first_name, presence: true end # == Schema Information # Schema version: 20150320075507 # # Table name: users # # id :integer not null, primary key # email :string default(""), not null # encrypted_password :string default(""), not null # reset_password_token :string # reset_password_sent_at :datetime # remember_created_at :datetime # sign_in_count :integer default("0"), not null # current_sign_in_at :datetime # last_sign_in_at :datetime # current_sign_in_ip :inet # last_sign_in_ip :inet # created_at :datetime # updated_at :datetime # first_name :string # last_name :string # lang :string default("EN") # phone :string # # Indexes # # index_users_on_email (email) UNIQUE # index_users_on_reset_password_token (reset_password_token) UNIQUE #
Version data entries
14 entries across 14 versions & 1 rubygems