A example of 《Agile Web Development with rails 4 edition》