Learning code for onemonthrails.com tutorial