class ActiveSupport::Cache::WriteOptions

def expires_at=(expires_at)

cannot both be set.
previously set, this will unset it since +expires_at+ and +expires_in+
Sets the Cache entry's +expires_at+ value. If an +expires_in+ option was
def expires_at=(expires_at)
  @options.delete(:expires_in)
  @options[:expires_at] = expires_at
end