title: Rails 6.0.2.1 - “sameSite” attribute set to “none” “secure” attribute
body: <p>Firefox error:</p>
  <blockquote>
  <p>Cookie “_myapp_session” will be soon rejected because it has the
  “sameSite” attribute set to “none” or an invalid value, without the
  “secure” attribute. To know more about the “sameSite“ attribute, read
  <a href="https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite" rel="noreferrer">https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite</a></p>
  </blockquote>
  <p>&quot;To fix this, you will have to add the Secure attribute to your SameSite=None cookies.&quot;</p>
  <p>How do I add the secure attribute into my SameSite=None cookie, when using Rails 6?</p>
  <p>I do not want to add a separate gem to accomplish this.This error randomly appeared, I assume there was a browser change. Does rails 6 have a native way to fix this? I read this post,</p>
  <p>Thank you</p>