rails demo app from Michael Hartl