I found there was missing `</form>` tag, too. In a newly created Rails app. I put `<%= form_tag('/posts', remote: true) %>` in view. And its generated output missing closing tag. See the example app here: https://gist.github.com/JuanitoFatas/33654a872e9d4aedf587

The motivation was to be consistent. Every subsection of Chapter 3 has generated HTML. Just want the reader to see `form_tag` generated output has a `data-remote="true"` to gain more confidence. I will hide irrelevant information from generated output. Thank you.