update reddit api with ruby on rails post