<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>willnet</author_name>
  <author_url>https://blog.hatena.ne.jp/willnet/</author_url>
  <blog_title>おもしろwebサービス開発日記チラシの裏</blog_title>
  <blog_url>https://memo.willnet.in/</blog_url>
  <categories>
  </categories>
  <description>savanna.io の日報からの転載。ちゃんと整形したり説明詳しく入れてメインのブログで公開しようと思ってたんだけど時間がなさすぎた palkan/n_plus_one_control: RSpec and Minitest matchers to prevent N+1 queries problem N+1をテストで検出できて便利 実際に同じテストを、DBレコード数だけ変えて複数回実行して発行したクエリ数を比較する クエリ数が違うとN+1では？となりテストを失敗させることができる N+1が起きるのは実際のユーザがアクセスしたときなので、システムスペックでは、と思いそうしていた しかしsy…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemo.willnet.in%2Fentry%2F2021%2F07%2F05%2F191144&quot; title=&quot;n_plus_one_controlはrequest specで使うのが良いという話とrequest specでログイン後のリクエストを投げるための方法について - おもしろwebサービス開発日記チラシの裏&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>2021-07-05 19:11:44</published>
  <title>n_plus_one_controlはrequest specで使うのが良いという話とrequest specでログイン後のリクエストを投げるための方法について</title>
  <type>rich</type>
  <url>https://memo.willnet.in/entry/2021/07/05/191144</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
