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
If you want to delete only the data without touching the tables while using it inside your application or rails console :
Rails.application.eager_load!
ActiveRecord::Base.connection.disable_referential_integrity do
  ApplicationRecord.descendants.each do |model|
    model.delete_all
  end
end
With this code, you don't have to bother with referencing manually your models and/or with foreign key constraints (thanks to disable_referential_integrity).
ApplicationRecord.descendants returns only true application models unlike ActiveRecord::Base.descendants (no more ApplicationRecord, schema_migrations and ar_internal_metadata).