instance method
process_with_args
Ruby on Rails 7.2.3
Since v7.2.3 PrivateSignature
process_with_args(args)
No documentation comment.
Parameters
-
argsreq
Source
# 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
Defined in activerecord/lib/active_record/relation/query_methods.rb line 2211
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::QueryMethods