sample script from 'Head First Rails' (http://www.oreilly.co.jp/books/9784873114385/).