my rails demo according to 《Agile Web Development with Rails 4th》