method

write_cache_value

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: ActiveSupport::Cache::Strategy::LocalCache
write_cache_value(name, value, options) protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 134
          def write_cache_value(name, value, options) # :nodoc:
            name = normalize_key(name, options)
            cache = local_cache
            cache.mute do
              if value
                cache.write(name, value, options)
              else
                cache.delete(name, options)
              end
            end
          end
Register or log in to add new notes.