build a simple post, delete, update pm tool with rails