Todo api app from the Railscasts tutorial