{"action":"closed","issue":{"number":227,"created_at":"2011-10-18T18:04:42Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"When using allow_mult=true documents may come back with a content type of \"multipart/mixed\". Ripple's find() method handles \"multipart/mixed\" as expected. The reload() method, however, does not.\r\n\r\nExample:\r\n\r\n```ruby\r\nrequire 'rubygems'\r\nrequire 'ripple'\r\n\r\nclass Collection\r\n  include Ripple::Document\r\n\r\n  property :items, Array, :default => []\r\n\r\n  on_conflict do |siblings|\r\n    # set-union siblings\r\n    self.items = siblings.map(&:items).flatten.uniq\r\n  end\r\nend\r\n\r\nCollection.bucket.allow_mult = true\r\ncollection = Collection.create!\r\ncollection1 = Collection.find(collection.key)\r\ncollection2 = Collection.find(collection.key)\r\ncollection1.items << 1\r\ncollection1.save!\r\ncollection2.items << 2\r\ncollection2.save!\r\n\r\nputs ([1,2] == collection.reload.items.sort ? \"pass\" : \"fail\")\r\n```\r\n\r\nExpected: \r\npass\r\n\r\nActual:\r\n\r\n```bash\r\nlib/riak/serializers.rb:26:in `block in serializer_for': No serializer has been registered for content type \"multipart/mixed; boundary=IAIB4qqIBdpJAB8QJE41NLgVV7g\" (NotImplementedError)\r\n```","comments":1,"title":"Document reload() method doesn't understand \"multipart/mixed\"","updated_at":"2011-10-18T23:45:28Z","url":"https://api.github.com/repos/seancribbs/ripple/issues/227","id":1960847,"assignee":null,"milestone":{"number":7,"created_at":"2011-04-10T15:22:22Z","due_on":null,"title":"1.0","creator":{"avatar_url":"https://secure.gravatar.com/avatar/ce461b57b6a1f65ce5b6cc1c124673e3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"ce461b57b6a1f65ce5b6cc1c124673e3","url":"https://api.github.com/users/seancribbs","id":1772,"login":"seancribbs"},"url":"https://api.github.com/repos/seancribbs/ripple/milestones/7","open_issues":11,"closed_issues":38,"description":"The big release. All breaking changes are on the table!","state":"open"},"closed_at":"2011-10-18T23:45:27Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/49541ef12b1f1ec82cd53764f11ed18a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"49541ef12b1f1ec82cd53764f11ed18a","url":"https://api.github.com/users/dreverri","id":34737,"login":"dreverri"},"html_url":"https://github.com/seancribbs/ripple/issues/227","labels":[{"name":"bug","url":"https://api.github.com/repos/seancribbs/ripple/labels/bug","color":"de3131"},{"name":"ripple","url":"https://api.github.com/repos/seancribbs/ripple/labels/ripple","color":"00ccff"}],"state":"closed"},"legacy":{"number":227,"action":"closed","issue":1960847}}