Flowdock
method

truncate_all

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: DatabaseTasks
truncate_all(environment = env) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/tasks/database_tasks.rb, line 225
      def truncate_all(environment = env)
        ActiveRecord::Base.configurations.configs_for(env_name: environment).each do |db_config|
          truncate_tables(db_config)
        end
      end
Register or log in to add new notes.