begin week 4 notes of rails course