method
attributes_with_values
v5.2.3 -
Show latest stable
- Class:
ActiveRecord::AttributeMethods
attributes_with_values(attribute_names)private
No documentation available.
# File activerecord/lib/active_record/attribute_methods.rb, line 463
def attributes_with_values(attribute_names)
attribute_names.each_with_object({}) do |name, attrs|
attrs[name] = _read_attribute(name)
end
end