The Demo App in Chapter 2 of Michael Hartl's 'Ruby on Rails' tutorial.