I'm getting an error here as well.
The error message reads:
NoMethodError in Posts#index
In the code breakdown, the following line of my code is highlighted:
<%= f.text_field :comment %>
But the previous line, which also uses the name ":comment" is not highlighted
Thanks in advance.