Instead of just stating it was AJAX, I'd recommend rendering the todo partial with the created todo. 

```
  erb :_todo, locals: { todo: @todo }, layout: false
```

Then you can append the HTML directly to the page.