I don’t understand why the the counter cache is updated but seems no comments is created, shouldn’t…
Boris Barroso
1
Hey Boris,
Yes, definitely! This article only touches on how to generate the changeset. Once you’ve done that, you’ll insert need to pass it through Repo.insert/1 in your controller.