Learning rails from the book "Learn Ruby on Rails 4"