I was wondering if anyone knew how to get past this error on the threadly exercise which appears when I try to post a comment
I’ve read a few solutions on this and nothing has worked so far. I can’t see an obvious error in the line 10 it is picking the error on:
<%= form_for(@new_post) do |f| %>
Does anyone know if there are other files that need updated to allow this function to work properly?
It also seems odd that my index.html.erb file doesn’t show up in colour (I thought it was meant to have coloured text), I am wondering if this had something to do with the error.
I’ve tried to reset my code and follow exactly what the help video says multiple times without any luck.
Any advice would be greatly appreciated.