lib/couchrest/mixins/extended_attachments.rb in couchrest-0.33 vs lib/couchrest/mixins/extended_attachments.rb in couchrest-0.34

- old
+ new

@@ -62,10 +62,10 @@ end def set_attachment_attr(args) content_type = args[:content_type] ? args[:content_type] : get_mime_type(args[:file]) self['_attachments'][args[:name]] = { - 'content-type' => content_type, + 'content_type' => content_type, 'data' => encode_attachment(args[:file].read) } end end # module ExtendedAttachments \ No newline at end of file