Trying to pass tr test by adding loop in index.html.erb