DEV Community

Discussion on: Why is Rails ActiveRelation.update_all updating a different set of records?

Collapse
 
ben profile image
Ben Halpern

What happens if you tack .all onto the first related_comments = query?

Collapse
 
andy profile image
Andy Zhao (he/him)

.update_all still returns 12 :/