app/controllers/stockpot/database_cleaner_controller.rb
def index
      clear_cache_and_redis
      clean_database
      render json: { status: 204 }
    end
# Clean database before, between, and after tests by clearing Rails
# and REDIS caches and truncating the active record database.
Clean database before, between, and after tests by clearing Rails
and REDIS caches and truncating the active record database.
Clean database before between and after tests by clearing Rails and REDIS caches and truncating the active record database .
def index
      clear_cache_and_redis
      clean_database
      render json: { status: 204 }
    end
def index clear_cache_and_redis clean_database render json : { status : 204 } end
Clean database before, between, and after tests by clearing Rails
and REDIS caches and truncating the active record database.
Clean database before between and after tests by clearing Rails and REDIS caches and truncating the active record database .