A second attempt to complete Michael Hartl tutorial on rails