{"provider_url":"https://hatena.blog","width":"100%","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthinkami.hatenablog.com%2Fentry%2F2023%2F03%2F02%2F231008\" title=\"Rails + factory_bot\u3067\u3001sub factory\u3084trait\u30fbcallback\u3092\u4f7f\u3063\u3066\u95a2\u9023\u30c7\u30fc\u30bf\u3092\u751f\u6210\u3057\u3066\u307f\u305f - \u30e1\u30e2\u7684\u306a\u601d\u8003\u7684\u306a\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"Rails + factory_bot\u3067\u3001sub factory\u3084trait\u30fbcallback\u3092\u4f7f\u3063\u3066\u95a2\u9023\u30c7\u30fc\u30bf\u3092\u751f\u6210\u3057\u3066\u307f\u305f","height":"190","description":"Rails + RSpec + factory_bot \u306b\u3066\u3001\u3042\u308b\u30e2\u30c7\u30eb\u306e\u95a2\u9023\u30c7\u30fc\u30bf\u3092\u751f\u6210\u3059\u308b\u65b9\u6cd5\u3092\u8abf\u3079\u305f\u3068\u3053\u308d\u3001factory_bot\u306eGETTING_STARTED\u306b\u3044\u308d\u3044\u308d\u306a\u65b9\u6cd5\u304c\u8a18\u8f09\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002 https://github.com/thoughtbot/factory_bot/blob/main/GETTING_STARTED.md \u305d\u3053\u3067\u3001GETTING_STARTED\u306e\u5185\u5bb9\u3092\u7d20\u632f\u308a\u3057\u3066\u307f\u305f\u3068\u304d\u306e\u30e1\u30e2\u3092\u6b8b\u3057\u307e\u3059\u3002 \u76ee\u6b21 \u74b0\u5883 \u30c6\u30fc\u30d6\u30eb\u69cb\u9020 \u95a2\u9023\u30c7\u30fc\u30bf\u3092\u9806\u6b21\u751f\u6210 \u591a\u5074\u306efactory\u3067\u3001\u95a2\u9023\u30c7\u30fc\u30bf\u3092\u4e00\u5ea6\u306b\u751f\u6210 (Associations) \u95a2\u9023\u3092\u4f7f\u3063\u305f\u751f\u6210 \u6697\u9ed9\u7684\u5b9a\u7fa9 \u660e\u793a\u7684\u5b9a\u7fa9\u2026","published":"2023-03-02 23:10:08","type":"rich","blog_title":"\u30e1\u30e2\u7684\u306a\u601d\u8003\u7684\u306a","provider_name":"Hatena Blog","url":"https://thinkami.hatenablog.com/entry/2023/03/02/231008","author_url":"https://blog.hatena.ne.jp/thinkAmi/","categories":["Ruby","Rails","RSpec"],"author_name":"thinkAmi","blog_url":"https://thinkami.hatenablog.com/","image_url":"https://cdn.blog.st-hatena.com/images/theme/og-image-1500.png"}