Module: Devise::Models::Serializable

Extended by:
ActiveSupport::Concern
Included in:
Authenticatable
Defined in:
lib/devise/models/serializable.rb

Overview

This module redefine to_xml and serializable_hash in models for more secure defaults. By default, it removes from the serializable model all attributes that are not accessible. You can remove this default by using :force_except and passing a new list of attributes you want to exempt. All attributes given to :except will simply add names to exempt to Devise internal list.

Defined Under Namespace

Modules: ClassMethods