lib/que/active_job/extensions.rb
# Filter out :_aj_symbol_keys constructs so that keywords work as
# expected.
Filter out :_aj_symbol_keys constructs so that keywords work as
expected.
Filter out : _aj_symbol_keys constructs so that keywords work as expected .
def que_filter_args(thing)
        case thing
        when Array
          thing.map { |t| que_filter_args(t) }
        when Hash
          thing.each_with_object({}) do |(k, v), hash|
            hash[k] = que_filter_args(v) unless k == :_aj_symbol_keys
          end
        else
          thing
        end
      end
def que_filter_args ( thing ) case thing when Array thing . map { | t | que_filter_args ( t ) } when Hash thing . each_with_object ( { } ) do | ( k , v ) , hash | hash [ k ] = que_filter_args ( v ) unless k == :_aj_symbol_keys end else thing end end
Filter out :_aj_symbol_keys constructs so that keywords work as
expected.
Filter out : _aj_symbol_keys constructs so that keywords work as expected .
thing