{"provider_name":"Hatena Blog","version":"1.0","url":"https://developers.techouse.com/entry/Rspec-sequence","provider_url":"https://hatena.blog","blog_url":"https://developers.techouse.com/","height":"190","type":"rich","author_url":"https://blog.hatena.ne.jp/techouse-dev/","author_name":"techouse-dev","image_url":"http://res.cloudinary.com/dyjw65doo/image/upload/v1726733200/Rspec-sequence/ogp.png","title":"STI\u3092\u5229\u7528\u3057\u305fRails\u30a2\u30d7\u30ea\u306e\u30c6\u30b9\u30c8\u304c\u5b9f\u884c\u9806\u5e8f\u3067\u5931\u6557\u3059\u308b\u554f\u984c\u3092\u89e3\u6c7a\u3057\u305f\u8a71","blog_title":"Techouse Developers Blog","categories":["Ruby on Rails","Testing","Advent Calendar 2024"],"published":"2024-12-16 19:00:00","description":"\u5f0a\u793e\u3067\u306f\u3001\u6570\u4e07\u4ef6\u306b\u304a\u3088\u3076\u81ea\u52d5\u30c6\u30b9\u30c8\u3092GitHub Actions\u3092\u5229\u7528\u3057\u3066\u30e9\u30f3\u30c0\u30e0\u5b9f\u884c\u3057\u3066\u3044\u307e\u3059\u3002\u4e26\u5217\u5b9f\u884c\u3055\u308c\u308b\u30c6\u30b9\u30c8\u306b\u304a\u3044\u3066\u3001\u7279\u5b9a\u306e\u9806\u5e8f\u3067\u5b9f\u884c\u3055\u308c\u308b\u3068\u4e00\u90e8\u306e\u30c6\u30b9\u30c8\u304c\u5931\u6557\u3059\u308b\u30b1\u30fc\u30b9\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u79c1\u304c\u305d\u306e\u539f\u56e0\u3092\u8abf\u67fb\u3057\u3001\u4fee\u6b63\u306b\u53d6\u308a\u7d44\u3080\u3053\u3068\u306b\u306a\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u3053\u306e\u5931\u6557\u306f\u3001STI\uff08Single Table Inheritance\uff09\u3092\u4f7f\u7528\u3057\u305f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u8a2d\u8a08\u3068\u95a2\u9023\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002\u672c\u8a18\u4e8b\u3067\u306f\u3001\u305d\u306e\u554f\u984c\u306e\u8a73\u7d30\u3068\u89e3\u6c7a\u306b\u81f3\u308b\u307e\u3067\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002\u4e26\u5217\u5b9f\u884c\u3055\u308c\u308b\u30c6\u30b9\u30c8\u3067\u306f\u3001\u30c6\u30b9\u30c8\u9593\u306b\u4f9d\u5b58\u95a2\u4fc2\u304c\u3042\u308b\u5834\u5408\u3084\u3001\u540c\u4e00\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30ea\u30bd\u30fc\u30b9\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u5834\u5408\u306b\u7af6\u5408\u304c\u767a\u751f\u3057\u3001\u5b9f\u884c\u9806\u5e8f\u306b\u3088\u3063\u3066\u4e88\u671f\u3057\u306a\u3044\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u7279\u306b\u4eca\u56de\u3001STI\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u30c6\u30fc\u30d6\u30eb\u3067\u767a\u751f\u3057\u305f\u7af6\u5408\u304c\u539f\u56e0\u3068\u306a\u308a\u3001\u30c6\u30b9\u30c8\u306e\u5931\u6557\u306b\u7e4b\u304c\u308a\u307e\u3057\u305f\u3002","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdevelopers.techouse.com%2Fentry%2FRspec-sequence\" title=\"STI\u3092\u5229\u7528\u3057\u305fRails\u30a2\u30d7\u30ea\u306e\u30c6\u30b9\u30c8\u304c\u5b9f\u884c\u9806\u5e8f\u3067\u5931\u6557\u3059\u308b\u554f\u984c\u3092\u89e3\u6c7a\u3057\u305f\u8a71 - Techouse Developers Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%"}