class ActionDispatch::Cookies::CookieJar
def write(response)
def write(response) @set_cookies.each do |name, value| if write_cookie?(value) response.set_cookie(name, value) end end @delete_cookies.each do |name, value| response.delete_cookie(name, value) end end