Incomplete response body being returned from Rails 3 app with RABL
===

I've built a JSON API using Rails 3 and RABL

The API works well but on particular requests only part of the data is returned - the rest of the JSON is cut off. Since the JSON is therefore invalid, the mobile app which relies on the API is crashing.

Can anybody think of why the body is cut off at a certain size and point me in the right direction to resolve the issue? Thanks