diff --git a/lib/active_support/cache/database_store.rb b/lib/active_support/cache/database_store.rb index 9a4a514..90c9f75 100644 --- a/lib/active_support/cache/database_store.rb +++ b/lib/active_support/cache/database_store.rb @@ -21,7 +21,8 @@ def self.supports_cache_versioning? end # param [Hash] options options - # option options [Class] :model model class. Default: ActiveSupport::Cache::DatabaseStore::Model + # option options [Class] :model (default: ActiveSupport::Cache::DatabaseStore::Model) model class + # option options [String] :compression provide (default: nil) "gzip" to compress cache values. def initialize(options = nil) @model = (options || {}).delete(:model) || Model @compression = (options || {}).delete(:compression)&.to_s