method

convert_to_global_id_hash

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Arguments
convert_to_global_id_hash(argument) private

No documentation

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

Hide source
# File activejob/lib/active_job/arguments.rb, line 201
      def convert_to_global_id_hash(argument)
        { GLOBALID_KEY => argument.to_global_id.to_s }
      rescue URI::GID::MissingModelIdError
        raise SerializationError, "Unable to serialize #{argument.class} "            "without an id. (Maybe you forgot to call save?)"
      end
Register or log in to add new notes.