Rails RESTful API for Game of Life