method

expires_at=

rails latest stable - Class: ActiveSupport::Cache::WriteOptions

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

expires_at=(expires_at)
public

Sets the Cache entry’s expires_at value. If an expires_in option was previously set, this will unset it since expires_at and expires_in cannot both be set.