Rails api commit