class ActionDispatch::Cookies::AbstractCookieJar

def expiry_options(options)

def expiry_options(options)
  if options[:expires].respond_to?(:from_now)
    { expires_in: options[:expires] }
  else
    { expires_at: options[:expires] }
  end
end