[RCBC-99] When posting JSON strings in rails this function is passed a StringIO object not a string. Created: 05/Dec/12  Updated: 08/Feb/13  Resolved: 06/Dec/12

Status: Closed
Project: Couchbase Ruby client library
Component/s: None
Affects Version/s: 1.2.0.z.beta4
Fix Version/s: 1.2.0
Security Level: Public

Type: Bug Priority: Major
Reporter: Sergey Avseyev Assignee: Sergey Avseyev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
https://github.com/couchbase/couchbase-ruby-client/pull/5

When posting JSON strings in rails this function is passed a StringIO object not a string.
This causes the following error:

MultiJson::DecodeError
399: unexpected token at '#<StringIO:0x2f64720>]'

 Comments   
Comment by Sergey Avseyev [ 06/Dec/12 ]
http://review.couchbase.org/23117
Generated at Wed Sep 17 03:34:17 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.