instance method process_with_args

Ruby on Rails 8.1.2

Since v7.2.3 Private

Available in: v7.2.3 v8.0.4 v8.1.2

Signature

process_with_args(args)

No documentation comment.

Parameters

args req
Source
# File activerecord/lib/active_record/relation/query_methods.rb, line 2265
      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

Defined in activerecord/lib/active_record/relation/query_methods.rb line 2265 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::QueryMethods

Type at least 2 characters to search.

↑↓ navigate · open · esc close