4. View - SyntaxError Message


#1

I did as instructed... entered the code under line 12. But got a SyntaxError message as below. Not sure what I must do to resolve this. Can someone help me please? Thank you.


#2

Resolved :slight_smile:

Typo in line 12:

<% @messages.each.do |message| %>

... should read as follows:

<% @messages.each do |message| %>

Then it works! :relaxed:


#3

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.