Rails post json body. My controller returns an err.