Fix empty raw post data in ruby