module ActiveRecord::Tasks::DatabaseTasks
def purge_current(environment = env)
def purge_current(environment = env) each_current_configuration(environment) { |configuration| purge configuration } ActiveRecord::Base.establish_connection(environment.to_sym) end