module ActiveJob::Enqueuing

def enqueue(*args)

ActiveJob release.
The return value is adapter-specific and may change in a future

are not supported.
ActiveModel::GlobalIdentication instances. Arbitrary Ruby objects
(string, int, float, nil, true, false, hash or array) or
Push a job onto the queue. The arguments must be legal JSON types
def enqueue(*args)
  serialized_args = Parameters.serialize(args)
  ActiveSupport::Notifications.instrument "enqueue.active_job", adapter: queue_adapter, job: self, args: serialized_args
  queue_adapter.queue self, *serialized_args
end