This is the tutorial from "RailsGuides"