Sample app learning from Ruby on rails tutorial