method

purge_current

Importance_0
v5.2.3 - 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 218
      def purge_current(environment = env)
        each_current_configuration(environment) { |configuration|
          purge configuration
        }
        ActiveRecord::Base.establish_connection(environment.to_sym)
      end
Register or log in to add new notes.