method

write

rails latest stable - Class: ActiveSupport::Cache::Strategy::LocalCache

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

write(key, value, options = nil)
public

No documentation available.

# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 49
        def write(key, value, options = nil)
          value = value.to_s if respond_to?(:raw?) && raw?(options)
          local_cache.mute { local_cache.write(key, value || NULL) } if local_cache
          super
        end