demo app from the book Rails3