Comment on Five Common Rails MistakesparentComments−joevandyk14ythis 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.−randomdata14yThough you're still left to deal with your destroy callbacks/observers, if you have any.
Comments
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.
Though you're still left to deal with your destroy callbacks/observers, if you have any.