Sorry for another three line pull request. My application is mostly using Ripple, however some data is handled directly using riak-client.
There is no ['_type'] data for documents that are handled with the riak-client only. This small patch allows for conflicting data (allow_mult=true) and resolving it in riak-client only.
Diff to original is now a single line and not using 'rescue'. It simply checks if the content_type=='application/json' before trying to determine the model.
Sorry for another three line pull request. My application is mostly using Ripple, however some data is handled directly using riak-client. There is no ['_type'] data for documents that are handled with the riak-client only. This small patch allows for conflicting data (allow_mult=true) and resolving it in riak-client only.