Closed erikrikarddaniel closed 10 years ago
Can't use truncate since only a subset is deleted. We'll have to live with this I suppose.
Yes. A lot of deletes are called by .destroy, one for each row.
Fixed, with raw SQL, in commit e64f3b352b338b7fe53d6ee47c521eb9b6788e49.
Call direct SQL to delete rows. Add ON DELETE CASCADE to foreign key declarations?