Hacker News new | past | comments | ask | show | jobs | submit login

`destroy` instantiates active record models which kind of defeats the purpose of fast deletion :)



You are right, well in that case, you would have to delete associated records manually if you didn't add any foreign keys at the db level


I'd suggest deleting or dealing with those records anyway, regardless of whether you added FKs! But... if you don't add FKs, you've got bigger issues to deal with :(




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: