Ciprian Mihalache
Ciprian Mihalache

Reputation: 11

Memcached disable on test environment?

For example I have on a dedicated server a live site and in a sub folder a test site?

Is there a way to disable memcached on test site because I don't want that thing I make on test site to affect memory cache on live site.

Upvotes: 0

Views: 732

Answers (1)

Mr. Programmer
Mr. Programmer

Reputation: 3103

In your environments/test.rb, add this line config.cache_store = :null_store in order to disable the caching.

Upvotes: 2

Related Questions