gem上传的base64图像在rails中上传时损坏

gem上传的base64图像在rails中上传时损坏