Unexpected List Of Items On #index
On my index page, I succeeded in listing all of my 'games' in a table, unfortunately, another list, that isn't part of my index.html.erb file code also appears, above my table. I d
Solution 1:
Remove = before <%= @games.reverse.each do |g| %>. = renders a result of an expression, in your case, it is each method, that returns the collection.
Must look as this <% @games.reverse.each do |g| %>
Post a Comment for "Unexpected List Of Items On #index"