Ollzane Ollzane - 11 months ago 26
Ruby Question

Rails keeps putting text onto my page within {} and [], how do i get rid of this?

This is an example of the outputted text, when inspected using dev tools, it's listed under text




This is a typo error in the index.html.erb

<%= @posts.each do |post| %>

Should be

<% @posts.each do |post| %>