Another tutorial, this time from the book "Agile web development with Rails 4"