Changed find_by to syntax used in book