syntax error [each do end error]

Say "syntax error" Ruby iterative process If something is missing I get an error!

For "each do" I got an error because there is no "end".

With "end" It works!

Recommended Posts

syntax error [each do end error]
[Rails] syntax error, unexpected tSTRING_END, expecting'''