Refactor diet restrictions method, tests, & view