method

purge_current

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: DatabaseTasks
purge_current(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 300
      def purge_current(environment = env)
        each_current_configuration(environment) { |db_config| purge(db_config) }
        ActiveRecord::Base.establish_connection(environment.to_sym)
      end
Register or log in to add new notes.