Sha256: 7bdebfe4c905996ee7be7202108e20960fa3f9434c806642ecb5e2f86438e85e
Contents?: true
Size: 243 Bytes
Versions: 1
Compression:
Stored size: 243 Bytes
Contents
require 'simple_token_authentication' module DeviseSessionable class Session < ApplicationRecord acts_as_token_authenticatable belongs_to :authable, polymorphic: true, touch: true validates :authable, presence: true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
devise_sessionable-0.1.0 | app/models/devise_sessionable/session.rb |