Done until the end of 7.1.3 of rails tutorial