Module: DeviseAble
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/app/models/concerns/devise_able.rb
Overview
The Base User
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/app/models/concerns/devise_able.rb', line 9 def self.included(base) base.class_eval do # Fields devise :trackable, :timeoutable field :sign_in_count, type: Integer field :current_sign_in_at, type: Time field :last_sign_in_at, type: Time field :current_sign_in_ip, type: String field :last_sign_in_ip, type: String end end |