<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>AdwaysEngineerBlog</author_name>
  <author_url>https://blog.hatena.ne.jp/AdwaysEngineerBlog/</author_url>
  <blog_title>Adwaysエンジニアブログ</blog_title>
  <blog_url>https://blog.engineer.adways.net/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>みなさんこんにちはごきげんよう。時々登場する編集長の菊池です。先日とあるスマホアプリ用のサーバー側 API （Rails で実装してあります）で、『flash に入れた値が、値を取り出してないのに消えてしまう！？なんで！？』と困っていた現場に行って原因を調査していたところ、思い込みとかいろいろ気がついたので、今回はその時の話しを書こうと思います。Rails の flash については皆さんご存知だと思います。リクエストをまたいで値を持ち越す仕組みで、flash に設定した値は次のリクエストまで持ち越せて、flash から値を読み込むと flash から値が消えます。session に入れた値は…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.engineer.adways.net%2Fentry%2F39575399&quot; title=&quot;「Rails で flash が消えてしまった？！」を調査した時の話 - Adwaysエンジニアブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-06-27 20:30:33</published>
  <title>「Rails で flash が消えてしまった？！」を調査した時の話</title>
  <type>rich</type>
  <url>https://blog.engineer.adways.net/entry/39575399</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
