Delete everything from all tables (in Activerecord)
- by Horace Loeb
So I can do Post.delete_all to delete all my posts, but what if I want to delete all posts, comments, blogs, etc. I.e., how do I iterate over all my models and run the delete_all method?