Sha256: cd3d50cd9a2fb7d59a6d55d6439e16617319209d51a7e045792ae927f348a33f
Contents?: true
Size: 424 Bytes
Versions: 6
Compression:
Stored size: 424 Bytes
Contents
# frozen_string_literal: true require_relative 'tokens_serialization' # ActiveSupport Concern for serializing tokens module DeviseJwtAuth::Concerns::ActiveRecordSupport extend ActiveSupport::Concern included do serialize :tokens, DeviseJwtAuth::Concerns::TokensSerialization end class_methods do # It's abstract replacement .find_by def dta_find_by(attrs = {}) find_by(attrs) end end end
Version data entries
6 entries across 6 versions & 1 rubygems