webs 0.1.35 → 0.1.36
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/cache/cache.rb +3 -0
- data/lib/webs.rb +1 -1
- data/webs.gemspec +1 -1
- metadata +1 -1
data/Rakefile
CHANGED
data/lib/cache/cache.rb
CHANGED
@@ -20,6 +20,9 @@ module Webs
|
|
20
20
|
else
|
21
21
|
Webs.cache[ key ]
|
22
22
|
end
|
23
|
+
rescue Exception => e
|
24
|
+
Rails.logger.error "------------------------------------------------\nmemcache_error: #{e.message}, #{e.backtrace.join("\n")}"
|
25
|
+
nil
|
23
26
|
end
|
24
27
|
|
25
28
|
def cache_block(key, options=nil, &block)
|
data/lib/webs.rb
CHANGED
data/webs.gemspec
CHANGED