Closed lagartoflojo closed 12 years ago
A template like this:
name @child.name # a comment on the last line
breaks with:
(...)/show.json.json_builder:3: syntax error, unexpected keyword_ensure, expecting '}' (...)/show.json.json_builder:5: syntax error, unexpected keyword_end, expecting '}'
This does not happen if there's at least one empty line after the comment:
A template like this:
breaks with:
This does not happen if there's at least one empty line after the comment: