Pulkit Goyal
Apr 18, 2021

--

delete and update all are bad. Yes, they are fast. But they also skip validations, and do not cascade relationships (unless it is set up at the database level). Might be worth mentioning. This is a big cause of subtle bugs that are hard to pin point.

--

--

Pulkit Goyal
Pulkit Goyal

Written by Pulkit Goyal

I am a software developer with a focus on Elixir, Ruby and React. I build things and write stuff.

No responses yet