4 ms·
this is why i prefer using "on delete cascade" in schemas, no need to transmit lots of data over the wire and instantiate thousands of slow activerecord objects
by joevandyk 14y ago
this is why i prefer using "on delete cascade" in schemas, no need to transmit lots of data over the wire and instantiate thousands of slow activerecord objects when deleting stuff.
- randomdata 14y agoThough you're still left to deal with your destroy callbacks/observers, if you have any.