<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>littlestarling</author_name>
  <author_url>https://blog.hatena.ne.jp/littlestarling/</author_url>
  <blog_title>littlestarlingの日記</blog_title>
  <blog_url>https://littlestarling.hatenadiary.org/</blog_url>
  <categories>
    <anon>Rails</anon>
    <anon>MySQL</anon>
  </categories>
  <description>Railsが関係するかどうかも若干不明な状態なのだけど、この問題のせいで 先週からしっちゃかめっちゃかになっていた。とりあえずでもリマインドの ためにメモっておく。 [現象] 環境によって値の取得が行えたり行えなかったりする 行えない場合は、Railsのレベルでもエラーとして表示される。 （Nil Object取得と解釈されることによるNo Method Error） [想定原因1] MySQLのバージョン違いによるデフォルト設定の解釈の違い →default設定がない場合、0が入ったり、NULLになっていたりする。 バージョン5.0.48と4.X系で違う。（メジャーバージョンが違うからしょう…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flittlestarling.hatenadiary.org%2Fentry%2F20080128%2F1201489957&quot; title=&quot;バージョン違いでdefaultの解釈が異なる - littlestarlingの日記&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>2008-01-28 12:12:37</published>
  <title>バージョン違いでdefaultの解釈が異なる</title>
  <type>rich</type>
  <url>https://littlestarling.hatenadiary.org/entry/20080128/1201489957</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
