recreating rails to learn rails