Skip to content

Instantly share code, notes, and snippets.

@amitpatelx
Created October 6, 2017 10:37
Show Gist options
  • Save amitpatelx/9e125f8c3dff795855f8c74a29f4e4cb to your computer and use it in GitHub Desktop.
Save amitpatelx/9e125f8c3dff795855f8c74a29f4e4cb to your computer and use it in GitHub Desktop.
Typical Devise User Model
class User < ApplicationRecord
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable and :omniauthable
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :trackable, :validatable
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment