Playing with Rails as a REST service