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