example from Agile web development with Rails