method

deserialize_message

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: Encryptor
deserialize_message(message) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/encryption/encryptor.rb, line 102
        def deserialize_message(message)
          raise Errors::Encoding unless message.is_a?(String)
          serializer.load message
        rescue ArgumentError, TypeError, Errors::ForbiddenClass
          raise Errors::Encoding
        end
Register or log in to add new notes.