debugging some of the code. This is meant to be a rigorous undertaking of every file to enhance my overall knowledge of rails