KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I can do Post.delete_all to delete all my posts, but what if I want to delete all posts, comments, blogs, etc.? How do I iterate over all my models and run the delete_all method?
Tags (comma-separated)
Save Edits
Cancel