method

load

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: MessageSerializer
load(serialized_content) public

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/message_serializer.rb, line 24
      def load(serialized_content)
        data = JSON.parse(serialized_content)
        parse_message(data, 1)
      rescue JSON::ParserError
        raise ActiveRecord::Encryption::Errors::Encoding
      end
Register or log in to add new notes.