<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shinkufencer</author_name>
  <author_url>https://blog.hatena.ne.jp/shinkufencer/</author_url>
  <blog_title>コード日進月歩</blog_title>
  <blog_url>https://shinkufencer.hateblo.jp/</blog_url>
  <categories>
    <anon>Rails</anon>
    <anon>Tips</anon>
  </categories>
  <description>すごく助かったのでメモがてら 環境 $ rails -v Rails 7.1.2 factory_bot (6.4.4) activesupport (&gt;= 5.0.0) factory_bot_rails (6.4.2) factory_bot (~&gt; 6.4) railties (&gt;= 5.0.0) やり方について 今回の事例 下記のように1000レコードを作成するようなテストを書く場合を想定する。 RSpec.describe SoccerMember, type: :model do context &quot;1000人のメンバーが作成されたとき&quot; do let!(:team) { creat…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinkufencer.hateblo.jp%2Fentry%2F2024%2F02%2F10%2F000000&quot; title=&quot;Factory Botで数百を超えるレコードを作る場合はbuild_listとinsert_allと組み合わせると軽快に生成できる - コード日進月歩&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>2024-02-10 00:00:00</published>
  <title>Factory Botで数百を超えるレコードを作る場合はbuild_listとinsert_allと組み合わせると軽快に生成できる</title>
  <type>rich</type>
  <url>https://shinkufencer.hateblo.jp/entry/2024/02/10/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
