Hello i know you can run rake db:reset. But how does one reset a specific database?
I just want to reset the database for Items class.
Model.delete_all to delete all the data of that particular model.
Model.delete_all
Model.destroy_all
1.4m articles
1.4m replys
5 comments
57.0k users