this is from one month rails course