This is the rails sample app tutorial of Michael Hartl