instance method
build_with_value_from_hash
Ruby on Rails 8.1.2
Since v7.1.6 PrivateSignature
build_with_value_from_hash(hash)
No documentation comment.
Parameters
-
hashreq
Source
# File activerecord/lib/active_record/relation/query_methods.rb, line 1918
def build_with_value_from_hash(hash)
hash.map do |name, value|
Arel::Nodes::TableAlias.new(build_with_expression_from_value(value), name)
end
end
Defined in activerecord/lib/active_record/relation/query_methods.rb line 1918
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::QueryMethods