method

process_with_args

rails latest stable - Class: ActiveRecord::QueryMethods

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

process_with_args(args)
private

No documentation available.

# File activerecord/lib/active_record/relation/query_methods.rb, line 2211
      def process_with_args(args)
        args.flat_map do |arg|
          raise ArgumentError, "Unsupported argument type: #{arg} #{arg.class}" unless arg.is_a?(Hash)
          arg.map { |k, v| { k => v } }
        end
      end