Skip to content

Commit

Permalink
Merge remote-tracking branch 'zenchicken/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed May 5, 2011
2 parents 75a0d8a + f6c3b81 commit 41a88c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages/app/models/page.rb
Expand Up @@ -290,7 +290,8 @@ def expire_page_caching
begin
Rails.cache.delete_matched(/.*pages.*/)
rescue NotImplementedError
warn "**** [REFINERY] The cache store you are using is not compatible with Rails.cache#delete_matched so please disable caching to ensure proper operation. ***"
Rails.cache.clear
warn "**** [REFINERY] The cache store you are using is not compatible with Rails.cache#delete_matched - clearing entire cache instead ***"
end
end
end
Expand Down

0 comments on commit 41a88c1

Please sign in to comment.