method

exist

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.

exist(key, options = nil)
public

No documentation available.

# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 60
        def exist(key, options = nil)
          value = local_cache.read(key) if local_cache
          if value == NULL
            false
          elsif value
            true
          else
            super
          end
        end