# File lib/dm-core/adapters/abstract_adapter.rb, line 210 def attributes_as_fields(attributes) attributes.map { |property, value| [ property.field, property.dump(value) ] }.to_hash end