Class: ActiveAcl::Cache::NoCacheAdapter
- Defined in:
- lib/active_acl/cache/no_cache_adapter.rb
Overview
The default second level cache dummy implementation, not implementing any caching functionality at all.
Class Method Summary collapse
Class Method Details
.delete(key) ⇒ Object
18 19 20 |
# File 'lib/active_acl/cache/no_cache_adapter.rb', line 18 def self.delete(key) Rails.logger.debug 'ACTIVE_ACL::SECOND_LEVEL_CACHE::DISABLED::DELETE ' + key.to_s end |
.get(key) ⇒ Object
:nodoc:
9 10 11 12 |
# File 'lib/active_acl/cache/no_cache_adapter.rb', line 9 def self.get(key) Rails.logger.debug 'ACTIVE_ACL::SECOND_LEVEL_CACHE::DISABLED::MISS ' + key.to_s nil end |
.set(key, value, ttl) ⇒ Object
14 15 16 |
# File 'lib/active_acl/cache/no_cache_adapter.rb', line 14 def self.set(key, value, ttl) Rails.logger.debug 'ACTIVE_ACL::SECOND_LEVEL_CACHE::DISABLED::SET ' + key.to_s + ' TO ' + value.inspect + ' TTL ' + ttl.to_s end |