title: Cookies not saved in rails 6
body: <p>I am using rails 6.0 in a new project and after that cookies are not set</p>
  
  <pre class="lang-rb prettyprint-override"><code> Include ActionDispatch::Cookies 
   Include ActionDispatch::Session::CookieStore 
    before_action :cookie_set
    def cookie_set
      cookies[:test] = {value: 'testset'}
    end
  </code></pre>
  
  <p>browser cookie is empty</p>