Sha256: b34576ec6b3799709d0e4d878e36a0e784331ec4fca3dfc2cfb19dc6ca3b41ed

Contents?: true

Size: 459 Bytes

Versions: 7

Compression:

Stored size: 459 Bytes

Contents

module Devise
  module Models
    module Authenticatable
      list = %i[
        invitation_token invitation_created_at invitation_sent_at
        invitation_accepted_at invitation_limit invited_by_type
        invited_by_id invitations_count
      ]
      
      if defined?(UNSAFE_ATTRIBUTES_FOR_SERIALIZATION)
        UNSAFE_ATTRIBUTES_FOR_SERIALIZATION.concat(list)
      else
        BLACKLIST_FOR_SERIALIZATION.concat(list)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/devise_invitable-2.0.9/lib/devise_invitable/models/authenticatable.rb
devise_invitable-2.0.9 lib/devise_invitable/models/authenticatable.rb
devise_invitable-2.0.8 lib/devise_invitable/models/authenticatable.rb
devise_invitable-2.0.7 lib/devise_invitable/models/authenticatable.rb
devise_invitable-2.0.6 lib/devise_invitable/models/authenticatable.rb
devise_invitable-2.0.5 lib/devise_invitable/models/authenticatable.rb
devise_invitable-2.0.4 lib/devise_invitable/models/authenticatable.rb