method

convert_to_global_id_hash

Importance_0
v6.0.0 - Show latest stable - 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 170
      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.