To study Perfect Ruby on Rails Chapter 6