<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nakaearth</author_name>
  <author_url>https://blog.hatena.ne.jp/nakaearth/</author_url>
  <blog_title>nakaearthの日記</blog_title>
  <blog_url>https://nakaearth.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>数日前に以下のPRが目について、where.missing や where.associated って何だろうとなったので、確認してみた。 見たPRはこちら 。 where.missing(:association を指定) これは関連先のデータが missing == 空 のデータを返す。 例えば post というテーブルに対し comments というテーブルがあった場合以下のようなSQLになる Post.where.missing(:comments) =&gt; &quot;SELECT `posts`.* FROM `posts` LEFT OUTER JOIN `comments` `commen…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnakaearth.hatenadiary.org%2Fentry%2F2026%2F06%2F15%2F105253&quot; title=&quot;Rails の PRを見て気になったところ - nakaearthの日記&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>2026-06-15 10:52:53</published>
  <title>Rails の PRを見て気になったところ</title>
  <type>rich</type>
  <url>https://nakaearth.hatenadiary.org/entry/2026/06/15/105253</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
