{"id":22109,"date":"2025-11-03T15:04:22","date_gmt":"2025-11-03T15:04:22","guid":{"rendered":"https:\/\/pokecon.jp\/job\/?p=22109"},"modified":"2025-11-03T15:04:22","modified_gmt":"2025-11-03T15:04:22","slug":"youtrust%e3%81%aerails%e3%82%92%e5%88%86%e5%89%b2%e3%81%97%e3%81%9f%e8%a9%b1-rails-engine-youtrust-tech-blog","status":"publish","type":"post","link":"https:\/\/pokecon.jp\/job\/22109\/","title":{"rendered":"YOUTRUST\u306eRails\u3092\u5206\u5272\u3057\u305f\u8a71 \/ Rails Engine &#8211; YOUTRUST Tech Blog"},"content":{"rendered":"\n<\/p>\n<div>\n<p>\u3053\u3093\u306b\u3061\u306f\u3001YOUTRUST\u306eWeb\u30a8\u30f3\u30b8\u30cb\u30a2\u4eca\u4e95(<a target=\"_blank\" href=\"https:\/\/youtrust.jp\/users\/yi23_10\">YOUTRUST<\/a> \/ <a target=\"_blank\" href=\"https:\/\/x.com\/yi23_10\">X<\/a>)\u3067\u3059\u3002<\/p>\n<p>YOUTRUST\u3067\u306f\u9577\u3089\u304f\u3001\u8907\u6570\u306e\u4e8b\u696d\u30c9\u30e1\u30a4\u30f3\u30921\u3064\u306eRails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u4e0a\u3067\u904b\u7528\u3057\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u30b5\u30fc\u30d3\u30b9\u3084\u6a5f\u80fd\u304c\u5897\u3048\u308b\u306b\u3064\u308c\u3001\u958b\u767a\u30fb\u30c7\u30d7\u30ed\u30a4\u30fb\u30c6\u30b9\u30c8\u3068\u3044\u3063\u305f\u904b\u7528\u306e\u8907\u96d1\u3055\u304c\u5c11\u3057\u305a\u3064\u76ee\u7acb\u3064\u3088\u3046\u306b\u306a\u3063\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u306e\u8ab2\u984c\u3092\u89e3\u6d88\u3059\u308b\u305f\u3081\u3001\u30b5\u30fc\u30d3\u30b9\u5358\u4f4d\u3067\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5206\u96e2\u3057\u3064\u3064\u5171\u901a\u57fa\u76e4\u3092\u4fdd\u3064\u300c<strong>Rails\u5206\u5272\u30d7\u30ed\u30b8\u30a7\u30af\u30c8<\/strong>\u300d\u3092\u958b\u59cb\u3057\u307e\u3057\u305f\u3002<br \/>\n\u4eca\u56de\u306f\u3001\u305d\u306e\u4e2d\u6838\u3068\u306a\u308bRails Engine\u5c0e\u5165\u306e\u80cc\u666f\u3068\u9032\u3081\u65b9\u3001\u5f97\u3089\u308c\u305f\u5909\u5316\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<h2 id=\"\u306f\u3058\u3081\u306b\">\u306f\u3058\u3081\u306b<\/h2>\n<p>YOUTRUST\u3067\u306f\u3001\u3053\u308c\u307e\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8907\u6570\u306e\u30b5\u30fc\u30d3\u30b9\u30921\u3064\u306eRails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u4e2d\u3067\u904b\u7528\u3057\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n<ul>\n<li>\u30e6\u30fc\u30b6\u30fc\u5411\u3051\u306eSNS\u6a5f\u80fd<\/li>\n<li>\u793e\u54e1\u304c\u5229\u7528\u3059\u308bAdmin<\/li>\n<li>YOUTRUST TALENT\uff08HR\u4e8b\u696d\uff09<\/li>\n<li>YOUTRUST SALES\uff08\u30bb\u30fc\u30eb\u30b9\u30c6\u30c3\u30af\u4e8b\u696d\uff09<\/li>\n<li>YOUTRUST INSIGHT\uff08\u30b9\u30dd\u30c3\u30c8\u30b3\u30f3\u30b5\u30eb\u30c6\u30a3\u30f3\u30b0\u4e8b\u696d\uff09<\/li>\n<\/ul>\n<p>\u3057\u304b\u3057\u3001\u30d7\u30ed\u30c0\u30af\u30c8\u304c\u6210\u9577\u3057\u3001\u958b\u767a\u30e1\u30f3\u30d0\u30fc\u3082\u5897\u3048\u3066\u3044\u304f\u306b\u3064\u308c\u3001\u5f90\u3005\u306b\u8ab2\u984c\u304c\u898b\u3048\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n<ul>\n<li>\u5c0f\u3055\u306a\u4fee\u6b63\u3067\u3082\u30a2\u30d7\u30ea\u5168\u4f53\u306e\u30c7\u30d7\u30ed\u30a4\u304c\u5fc5\u8981<\/li>\n<li>\u4ed6\u30b5\u30fc\u30d3\u30b9\u3078\u306e\u5f71\u97ff\u3092\u628a\u63e1\u3059\u308b\u306e\u304c\u96e3\u3057\u3044<\/li>\n<li>\u30c6\u30b9\u30c8\u30fbCI\u6642\u9593\u304c\u5897\u52a0\u3057\u3001\u30c7\u30d7\u30ed\u30a4\u30b5\u30a4\u30af\u30eb\u304c\u920d\u5316<\/li>\n<\/ul>\n<p>2025\u5e744\u6708\u3054\u308d\u3001\u65b0\u898f\u4e8b\u696d\u306e\u958b\u767a\u304c\u59cb\u307e\u3063\u305f\u3053\u3068\u3092\u304d\u3063\u304b\u3051\u306b\u3001\u3053\u308c\u3089\u306e\u8ab2\u984c\u3092\u89e3\u6d88\u3059\u308b\u305f\u3081\u300cRails\u5206\u5272\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300d\u304c\u7acb\u3061\u4e0a\u304c\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>YOUTRUST\u3067\u306f\u4eca\u5f8c\u3082\u8907\u6570\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u6a2a\u65ad\u7684\u306b\u5c55\u958b\u3057\u3066\u3044\u304f\u69cb\u60f3\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><figure class=\"figure-image figure-image-fotolife\" title=\"\u4eca\u5f8c\u3082\u4e8b\u696d\u306e\u62e1\u5927\u3092\u8996\u91ce\u306b\u5165\u308c\u3066\u3044\u307e\u3059\"><span itemscope=\"\" itemtype=\"http:\/\/schema.org\/Photograph\"><img decoding=\"async\" src=\"https:\/\/cdn-ak.f.st-hatena.com\/images\/fotolife\/y\/yi_2310\/20251029\/20251029152230.webp\" width=\"987\" height=\"1200\" loading=\"lazy\" title=\"\" class=\"hatena-fotolife\" itemprop=\"image\"\/><\/span><figcaption>\u4eca\u5f8c\u3082\u4e8b\u696d\u306e\u62e1\u5927\u3092\u8996\u91ce\u306b\u5165\u308c\u3066\u3044\u307e\u3059<\/figcaption><\/figure>\n<\/p>\n<p>\u3053\u3046\u3057\u305f\u8907\u6570\u30b5\u30fc\u30d3\u30b9\u304c\u5171\u5b58\u30fb\u6210\u9577\u3067\u304d\u308b\u69cb\u9020\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306b\u3001\u30b5\u30fc\u30d3\u30b9\u5358\u4f4d\u3067\u8cac\u52d9\u3092\u5206\u96e2\u3057\u3064\u3064\u5171\u901a\u51e6\u7406\u306f\u5b89\u5168\u306b\u518d\u5229\u7528\u3067\u304d\u308b\u4ed5\u7d44\u307f\u3068\u3057\u3066\u3001\u300cRails Engine\u300d\u3092\u63a1\u7528\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001\u305d\u306e\u300cRails\u5206\u5272\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u300d\u306e\u904e\u7a0b\u3092\u7d39\u4ecb\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<hr\/>\n<h2 id=\"\u306a\u305cRails-Engine\u3092\u9078\u3093\u3060\u306e\u304b\">\u306a\u305cRails Engine\u3092\u9078\u3093\u3060\u306e\u304b<\/h2>\n<p>Rails\u5206\u5272\u306b\u53d6\u308a\u7d44\u3080\u306b\u3042\u305f\u3063\u3066\u3001\u307e\u305a\u691c\u8a0e\u3057\u305f\u306e\u306f<strong>\u300c\u3069\u306e\u65b9\u6cd5\u3067\u30b5\u30fc\u30d3\u30b9\u5358\u4f4d\u306b\u5206\u5272\u3059\u308b\u306e\u304c\u6700\u9069\u304b\uff1f\u300d<\/strong>\u3068\u3044\u3046\u70b9\u3067\u3057\u305f\u3002<\/p>\n<p>\u5f53\u6642\u306f\u6b21\u306e\u3088\u3046\u306a\u9078\u629e\u80a2\u3092\u6d17\u3044\u51fa\u3057\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<ul>\n<li>\u5358\u4e00Rails\u30a2\u30d7\u30ea\u5185\u3067\u540d\u524d\u7a7a\u9593\u3092\u4f7f\u3063\u3066\u8ad6\u7406\u7684\u306b\u30b5\u30fc\u30d3\u30b9\u3092\u5206\u3051\u308b<\/li>\n<li>Packwerk\u3092\u5c0e\u5165\u3057\u3066\u4f9d\u5b58\u95a2\u4fc2\u3092\u660e\u78ba\u5316\u3059\u308b<\/li>\n<li>Rails Engine\u3092\u5c0e\u5165\u3057\u3066\u7269\u7406\u7684\u306b\u30b3\u30fc\u30c9\u3092\u5206\u96e2\u3059\u308b<\/li>\n<li>\u30b5\u30fc\u30d3\u30b9\u5358\u4f4d\u3067\u5b8c\u5168\u306b\u5206\u96e2\u3057\u3001\u30de\u30a4\u30af\u30ed\u30b5\u30fc\u30d3\u30b9\u5316\u3059\u308b<\/li>\n<\/ul>\n<p>\u305d\u308c\u305e\u308c\u306b\u30e1\u30ea\u30c3\u30c8\u3068\u30c7\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u540d\u524d\u7a7a\u9593\u306b\u3088\u308b\u5206\u5272\u306f\u5c0e\u5165\u30b3\u30b9\u30c8\u304c\u4f4e\u304f\u3059\u3050\u59cb\u3081\u3089\u308c\u307e\u3059\u304c\u3001\u7d50\u5c401\u3064\u306e\u30a2\u30d7\u30ea\u5185\u3067\u52d5\u4f5c\u3059\u308b\u305f\u3081\u3001\u8cac\u52d9\u306e\u5206\u96e2\u306b\u306f\u9650\u754c\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>Packwerk\u306f\u4f9d\u5b58\u69cb\u9020\u306e\u53ef\u8996\u5316\u306b\u512a\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u30b3\u30fc\u30c9\u3092\u7269\u7406\u7684\u306b\u5206\u3051\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u30de\u30a4\u30af\u30ed\u30b5\u30fc\u30d3\u30b9\u5316\u306f\u7406\u60f3\u7684\u306a\u72ec\u7acb\u6027\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u304c\u3001\u30a4\u30f3\u30d5\u30e9\u69cb\u7bc9\u3084\u901a\u4fe1\u8a2d\u8a08\u3001\u30c7\u30fc\u30bf\u540c\u671f\u306a\u3069\u306e\u904b\u7528\u30b3\u30b9\u30c8\u304c\u9ad8\u304f\u3001\u73fe\u6642\u70b9\u306e\u898f\u6a21\u3067\u306f\u73fe\u5b9f\u7684\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<p>\u305d\u306e\u4e2d\u3067\u3001\u6700\u3082\u30d0\u30e9\u30f3\u30b9\u304c\u826f\u3044\u3068\u5224\u65ad\u3057\u305f\u306e\u304c <strong>Rails Engine<\/strong> \u3067\u3057\u305f\u3002<\/p>\n<p>Rails Engine\u3092\u4f7f\u3048\u3070\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u9593\u306b<strong>\u660e\u78ba\u306a\u5883\u754c<\/strong>\u3092\u8a2d\u3051\u306a\u304c\u3089\u3001\u5171\u901a\u51e6\u7406\u30921\u3064\u306e\u57fa\u76e4\u306b\u307e\u3068\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3068\u8003\u3048\u307e\u3057\u305f\u3002<\/p>\n<p>YOUTRUST\u3067\u306f\u3001\u5171\u901a\u30ed\u30b8\u30c3\u30af\u3084\u30e2\u30c7\u30eb\u3092Engine\u3068\u3057\u3066\u5207\u308a\u51fa\u3057\u3001\u305d\u306e\u4e0a\u306b\u5404\u30b5\u30fc\u30d3\u30b9\uff08SNS\u30fb\u63a1\u7528\u7ba1\u7406\u30fb\u793e\u5185\u7ba1\u7406\u306a\u3069\uff09\u304c\u72ec\u7acb\u3057\u305fRails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u3057\u3066\u52d5\u4f5c\u3059\u308b\u69cb\u6210\u3092\u63a1\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u30b5\u30fc\u30d3\u30b9\u3054\u3068\u306b\u8cac\u52d9\u3092\u660e\u78ba\u306b\u5206\u96e2\u3057\u3064\u3064\u3001\u5171\u901a\u306e\u30c7\u30fc\u30bf\u3084\u30c9\u30e1\u30a4\u30f3\u30ed\u30b8\u30c3\u30af\u306f\u540c\u3058\u57fa\u76e4\u4e0a\u3067\u5b89\u5168\u306b\u518d\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<hr\/>\n<h2 id=\"Rails-Engine\u3068\u306f\">Rails Engine\u3068\u306f<\/h2>\n<p>Rails Engine\u306f\u3001\u7c21\u5358\u306b\u8a00\u3046\u3068\u300cRails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u4e2d\u3067\u52d5\u304f\u3001\u5c0f\u3055\u306aRails\u30a2\u30d7\u30ea\u300d\u3067\u3059\u3002<\/p>\n<p><iframe src=\"https:\/\/hatenablog-parts.com\/embed?url=https%3A%2F%2Frailsguides.jp%2Fengines.html\" title=\"Rails \u30a8\u30f3\u30b8\u30f3\u5165\u9580 - Rails\u30ac\u30a4\u30c9\" class=\"embed-card embed-webcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 155px; max-width: 500px; margin: 10px 0px;\" loading=\"lazy\"><\/iframe><cite class=\"hatena-citation\"><a target=\"_blank\" href=\"https:\/\/railsguides.jp\/engines.html\">railsguides.jp<\/a><\/cite><\/p>\n<p>\u901a\u5e38\u306eRails\u30a2\u30d7\u30ea\u3068\u540c\u3058\u3088\u3046\u306b\u3001<code>app\/models<\/code> \u3084 <code>app\/controllers<\/code>\u3001<code>config\/routes.rb<\/code> \u3092\u6301\u3064\u3053\u3068\u304c\u3067\u304d\u3001\u5358\u4f53\u3067\u3082\u3042\u308b\u7a0b\u5ea6\u5b8c\u7d50\u3057\u305f\u69cb\u9020\u3092\u4f5c\u308c\u307e\u3059\u3002<\/p>\n<p>\u901a\u5e38\u3001Rails\u30a2\u30d7\u30ea\u306f\u300c1\u3064\u306e\u5927\u304d\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u300d\u3068\u3057\u3066\u5168\u3066\u306e\u6a5f\u80fd\u3092\u62b1\u3048\u307e\u3059\u304c\u3001Engine\u3092\u4f7f\u3046\u3068\u3001<strong>\u6a5f\u80fd\u5358\u4f4d\u30fb\u9818\u57df\u5358\u4f4d\u3067\u30b3\u30fc\u30c9\u3092\u30e2\u30b8\u30e5\u30fc\u30eb\u5316<\/strong>\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30a2\u30d7\u30ea\u306e\u4e2d\u306b\u201c\u5c0f\u3055\u306a\u30a2\u30d7\u30ea\u201d\u3092\u5165\u308c\u8fbc\u3080\u3088\u3046\u306a\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<\/p>\n<pre class=\"code bash\" data-lang=\"bash\" data-unlink=\"\"># \u4f8b\uff1aEngine\u3092\u65b0\u898f\u4f5c\u6210\u3059\u308b\u30b3\u30de\u30f3\u30c9\n$ rails plugin new shared_app --mountable<\/pre>\n<ul>\n<li><code>--mountable<\/code> \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u308b\u3053\u3068\u3067\u3001Engine\u306f\u72ec\u81ea\u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u30fb\u30a2\u30bb\u30c3\u30c8\u30fb\u30c6\u30b9\u30c8\u74b0\u5883\u3092\u6301\u3061\u3001\u30db\u30b9\u30c8\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\uff08\u89aa\u30a2\u30d7\u30ea\uff09\u306b\u30de\u30a6\u30f3\u30c8\u3057\u3066\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>\u305f\u3060\u3057\u3001YOUTRUST\u3067\u306f\u4e00\u822c\u7684\u306a\u300cEngine\u3092\u30db\u30b9\u30c8\u30a2\u30d7\u30ea\u306b\u30de\u30a6\u30f3\u30c8\u3059\u308b\u300d\u69cb\u6210\u3067\u306f\u306a\u304f\u3001\u5171\u901a\u51e6\u7406\u3092Engine\u3068\u3057\u3066\u5207\u308a\u51fa\u3057\u3001\u5404\u30b5\u30fc\u30d3\u30b9\u304c\u72ec\u7acb\u3057\u305fRails\u30a2\u30d7\u30ea\u3068\u3057\u3066\u52d5\u4f5c\u3059\u308b\u69cb\u6210\u3092\u63a1\u7528\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u69cb\u6210\u30a4\u30e1\u30fc\u30b8\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5f62\u3067\u3059\u3002<\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\">youtrust\/\n\u251c\u2500\u2500 shared_app\/          # \u5171\u901a\u30ed\u30b8\u30c3\u30af\u30fb\u30e2\u30c7\u30eb\u3092\u4fdd\u6301\u3059\u308bRails Engine\n\u251c\u2500\u2500 backend_client_web\/  # \u63a1\u7528\u62c5\u5f53\u8005\u5411\u3051Rails\u30a2\u30d7\u30ea\n\u251c\u2500\u2500 backend_sns\/         # SNS\u6a5f\u80fd\u3092\u63d0\u4f9b\u3059\u308bRails\u30a2\u30d7\u30ea\n\u2514\u2500\u2500 backend_admin\/       # \u793e\u5185\u7ba1\u7406\u7528Rails\u30a2\u30d7\u30ea<\/pre>\n<p><span itemscope=\"\" itemtype=\"http:\/\/schema.org\/Photograph\"><img decoding=\"async\" src=\"https:\/\/cdn-ak.f.st-hatena.com\/images\/fotolife\/y\/yi_2310\/20251031\/20251031100113.png\" width=\"1200\" height=\"442\" loading=\"lazy\" title=\"\" class=\"hatena-fotolife\" itemprop=\"image\"\/><\/span><\/p>\n<p>\u5404\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f <code>shared_app<\/code> \u3092\u4f9d\u5b58\u95a2\u4fc2\u3068\u3057\u3066\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"code lang-ruby\" data-lang=\"ruby\" data-unlink=\"\">\n<span class=\"synPreProc\">gem<\/span> <span class=\"synSpecial\">'<\/span><span class=\"synConstant\">shared_app<\/span><span class=\"synSpecial\">'<\/span>, <span class=\"synConstant\">path<\/span>: <span class=\"synSpecial\">'<\/span><span class=\"synConstant\">..\/shared_app<\/span><span class=\"synSpecial\">'<\/span>\n<\/pre>\n<p>\u3053\u306e\u69cb\u6210\u306b\u3088\u308a\u3001<code>shared_app<\/code> \u304c\u5171\u901a\u306e\u30c9\u30e1\u30a4\u30f3\u30ed\u30b8\u30c3\u30af\u3084\u30e2\u30c7\u30eb\u3092\u63d0\u4f9b\u3057\u3001\u5404\u30b5\u30fc\u30d3\u30b9\u5074\u3067\u306f\u305d\u308c\u3092\u5229\u7528\u3057\u306a\u304c\u3089\u72ec\u7acb\u3057\u305f\u958b\u767a\u30fb\u30c7\u30d7\u30ed\u30a4\u3092\u884c\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<hr\/>\n<h2 id=\"Rails-Engine\u5c0e\u5165\u306e\u6d41\u308c\">Rails Engine\u5c0e\u5165\u306e\u6d41\u308c<\/h2>\n<p>Rails Engine\u3092\u5c0e\u5165\u3059\u308b\u3068\u6c7a\u3081\u3066\u304b\u3089\u306f\u3001\u300c\u3044\u304d\u306a\u308a\u5168\u3066\u3092\u5206\u5272\u3059\u308b\u300d\u306e\u3067\u306f\u306a\u304f\u3001<strong>\u30ea\u30b9\u30af\u3092\u6700\u5c0f\u9650\u306b\u6291\u3048\u306a\u304c\u3089\u6bb5\u968e\u7684\u306b\u79fb\u884c<\/strong>\u3059\u308b\u65b9\u91dd\u3067\u9032\u3081\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u3053\u3067\u306f\u5b9f\u969b\u306e\u6d41\u308c\u3092\u7c21\u5358\u306b\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<hr\/>\n<h3 id=\"1-Engine\u306e\u751f\u6210\">1. Engine\u306e\u751f\u6210<\/h3>\n<p>\u5171\u901a\u51e6\u7406\u3092\u5207\u308a\u51fa\u3059\u305f\u3081\u306eEngine\u3092\u4f5c\u6210\u3002<\/p>\n<pre class=\"code bash\" data-lang=\"bash\" data-unlink=\"\">$ rails plugin new shared_app --mountable<\/pre>\n<p>\u3053\u306e <code>--mountable<\/code> \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4ed8\u3051\u308b\u3053\u3068\u3067\u3001Engine\u3068\u3057\u3066\u72ec\u7acb\u3057\u305f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u6210\u3092\u6301\u3064Rails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u5f8c\u3001\u65e2\u5b58\u306eYOUTRUST\u30a2\u30d7\u30ea\u304b\u3089\u3053\u306eEngine\u3092\u8aad\u307f\u8fbc\u3080\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"code lang-ruby\" data-lang=\"ruby\" data-unlink=\"\">\n<span class=\"synPreProc\">gem<\/span> <span class=\"synSpecial\">'<\/span><span class=\"synConstant\">shared_app<\/span><span class=\"synSpecial\">'<\/span>, <span class=\"synConstant\">path<\/span>: <span class=\"synSpecial\">'<\/span><span class=\"synConstant\">..\/shared_app<\/span><span class=\"synSpecial\">'<\/span>\n<\/pre>\n<p>\u3053\u308c\u3067\u3001<code>shared_app<\/code> \u306e\u30b3\u30fc\u30c9\u304c\u4ed6\u306e\u30a2\u30d7\u30ea\u304b\u3089\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<hr\/>\n<h3 id=\"2-\u30b9\u30ad\u30fc\u30de\u306e\u79fb\u884c\">2. \u30b9\u30ad\u30fc\u30de\u306e\u79fb\u884c<\/h3>\n<p>YOUTRUST\u3067\u306f\u3001DB\u30b9\u30ad\u30fc\u30de\u306e\u7ba1\u7406\u306b <a target=\"_blank\" href=\"https:\/\/github.com\/winebarrel\/ridgepole\">Ridgepole<\/a> \u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u305f\u3081\u3001\u307e\u305a\u306f\u30b9\u30ad\u30fc\u30de\u5b9a\u7fa9\u3092 <code>shared_app<\/code> \u5074\u3078\u79fb\u884c\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\">db\/Schemafile \u2192 shared_app\/db\/Schemafile\nconfig\/database.yml \u2192 shared_app\/config\/database.yml<\/pre>\n<p>DB\u81ea\u4f53\u306f\u5206\u96e2\u305b\u305a\u3001<strong>1\u3064\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u5168\u30b5\u30fc\u30d3\u30b9\u3067\u5171\u6709<\/strong>\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>YOUTRUST\u306e\u30c7\u30fc\u30bf\u69cb\u9020\u3067\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u60c5\u5831\u3084\u4f01\u696d\u60c5\u5831\u306a\u3069\u8907\u6570\u30b5\u30fc\u30d3\u30b9\u304b\u3089\u53c2\u7167\u3055\u308c\u308b\u30c7\u30fc\u30bf\u304c\u591a\u3044\u305f\u3081\u3067\u3059\u3002<\/p>\n<hr\/>\n<h3 id=\"3-Model\u306e\u79fb\u884c\">3. Model\u306e\u79fb\u884c<\/h3>\n<p>\u6b21\u306b\u3001Model\u30af\u30e9\u30b9\u3092 <code>shared_app<\/code> \u914d\u4e0b\u306b\u79fb\u884c\u3057\u3066\u3044\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u307e\u305a\u306f\u4f9d\u5b58\u95a2\u4fc2\u304c\u5c11\u306a\u3044\u30e2\u30c7\u30eb\u304b\u3089\u9806\u306b\u79fb\u52d5\u3057\u3001\u6bb5\u968e\u7684\u306b\u30c6\u30b9\u30c8\u3092\u901a\u3057\u306a\u304c\u3089\u9032\u3081\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"code bash\" data-lang=\"bash\" data-unlink=\"\">app\/models\/*.rb \u2192 shared_app\/app\/models\/*.rb<\/pre>\n<p>\u79fb\u884c\u306e\u904e\u7a0b\u3067\u306f\u3001\u95a2\u9023\u304c\u6df1\u3044\u30e2\u30c7\u30eb\uff08\u7279\u306b <code>User<\/code> \u307e\u308f\u308a\uff09\u3092\u79fb\u52d5\u3059\u308b\u969b\u306b\u306f\u5927\u91cf\u306e\u30c6\u30b9\u30c8\u304c\u5931\u6557\u3059\u308b\u3053\u3068\u3082\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u306e\u305f\u3073\u306b\u4f9d\u5b58\u95a2\u4fc2\u3092\u6d17\u3044\u51fa\u3057\u3001\u30c6\u30b9\u30c8\u304c\u901a\u308b\u307e\u3067\u5730\u9053\u306b\u4fee\u6b63\u3092\u52a0\u3048\u3066\u3044\u304d\u307e\u3057\u305f\u3002<\/p>\n<hr\/>\n<h3 id=\"4-Command--Query-\u306e\u79fb\u884c\">4. Command \/ Query \u306e\u79fb\u884c<\/h3>\n<p>\u30e2\u30c7\u30eb\u79fb\u884c\u304c\u5b8c\u4e86\u3057\u305f\u5f8c\u306f\u3001\u66f4\u65b0\u7cfb\u306e\u51e6\u7406\uff08Command\uff09\u3068\u53c2\u7167\u7cfb\u306e\u51e6\u7406\uff08Query\uff09\u3092Engine\u3078\u79fb\u884c\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001<strong>\u300c\u30c7\u30fc\u30bf\u69cb\u9020\u300d\u3060\u3051\u3067\u306a\u304f\u300c\u30d3\u30b8\u30cd\u30b9\u30ed\u30b8\u30c3\u30af\u300d\u3082\u5171\u901a\u57fa\u76e4\u5074\u306b\u96c6\u7d04<\/strong>\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<hr\/>\n<h3 id=\"5-\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u69cb\u6210\u306e\u6574\u7406\">5. \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u69cb\u6210\u306e\u6574\u7406<\/h3>\n<p>\u6700\u7d42\u7684\u306a\u69cb\u6210\u306f\u4ee5\u4e0b\u3092\u60f3\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"code\" data-lang=\"\" data-unlink=\"\">youtrust\/\n\u251c\u2500\u2500 shared_app\/          # \u5171\u901a\u30ed\u30b8\u30c3\u30af\u30fb\u30e2\u30c7\u30eb\u3092\u4fdd\u6301\u3059\u308bRails Engine\n\u251c\u2500\u2500 backend_client_web\/  # \u63a1\u7528\u62c5\u5f53\u8005\u5411\u3051Rails\u30a2\u30d7\u30ea\n\u251c\u2500\u2500 backend_sns\/         # SNS\u6a5f\u80fd\u3092\u63d0\u4f9b\u3059\u308bRails\u30a2\u30d7\u30ea\n\u2514\u2500\u2500 backend_admin\/       # \u793e\u5185\u7ba1\u7406\u7528Rails\u30a2\u30d7\u30ea<\/pre>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001<code>shared_app<\/code> \u304cYOUTRUST\u5168\u4f53\u306e\u201c\u5171\u901a\u57fa\u76e4\u201d\u3068\u3057\u3066\u6a5f\u80fd\u3057\u3001\u5404\u30b5\u30fc\u30d3\u30b9\u306f\u305d\u308c\u305e\u308c\u72ec\u7acb\u3057\u305fRails\u30a2\u30d7\u30ea\u3068\u3057\u3066\u958b\u767a\u30fb\u30c7\u30d7\u30ed\u30a4\u3067\u304d\u308b\u69cb\u6210\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u5f71\u97ff\u7bc4\u56f2\u304c\u793e\u5185\u306b\u9650\u5b9a\u3055\u308c\u308bAdmin\u3092\u65b0\u3057\u3044Rails\u30a2\u30d7\u30ea\u306b\u5207\u308a\u51fa\u3059\u3068\u3053\u308d\u304b\u3089\u7740\u624b\u3057\u307e\u3057\u305f\u3002\u305d\u306e\u305f\u3081\u3001\u307e\u3060\u4e0a\u8a18\u3067\u60f3\u5b9a\u3057\u3066\u3044\u308b\u69cb\u6210\u306b\u306f\u81f3\u3063\u3066\u3044\u306a\u3044\u306e\u304c\u73fe\u72b6\u3067\u3059\u3002<\/p>\n<hr\/>\n<h3 id=\"6-\u30a4\u30f3\u30d5\u30e9\u69cb\u6210\u306e\u8abf\u6574\">6. \u30a4\u30f3\u30d5\u30e9\u69cb\u6210\u306e\u8abf\u6574<\/h3>\n<p>\u30a2\u30d7\u30ea\u5206\u5272\u306b\u4f34\u3044\u3001Docker Compose\u3084ECS\u306e\u8a2d\u5b9a\u3082\u898b\u76f4\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u958b\u767a\u74b0\u5883\u3067\u306f\u8907\u6570Rails\u30a2\u30d7\u30ea\u3092\u540c\u6642\u306b\u7acb\u3061\u4e0a\u3052\u3001\u672c\u756a\u74b0\u5883\u3067\u306fECS\u30b5\u30fc\u30d3\u30b9\u3092\u30a2\u30d7\u30ea\u5358\u4f4d\u3067\u5206\u96e2\u3002<\/p>\n<p>\u4eca\u5f8c\u306f\u5404\u30b5\u30fc\u30d3\u30b9\u5358\u4f4d\u3067\u72ec\u7acb\u30c7\u30d7\u30ed\u30a4\u3092\u884c\u3048\u308b\u69cb\u6210\u3092\u76ee\u6307\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<hr\/>\n<h2 id=\"Rails\u5206\u5272\u3067\u5909\u308f\u3063\u305f\u3053\u3068\">Rails\u5206\u5272\u3067\u5909\u308f\u3063\u305f\u3053\u3068<\/h2>\n<p>\u5f71\u97ff\u7bc4\u56f2\u304c\u793e\u5185\u306b\u9650\u5b9a\u3055\u308c\u308bAdmin\u306e\u307f\u3092\u5206\u5272\u3057\u305f\u72b6\u614b\u306a\u306e\u3067\u3001\u307e\u3060\u7406\u60f3\u3068\u3059\u308b\u69cb\u6210\u3068\u306f\u306a\u3063\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<p>\u4eca\u3082\u6539\u5584\u3092\u91cd\u306d\u306a\u304c\u3089\u3001\u5c11\u3057\u305a\u3064Rails\u5206\u5272\u306b\u3088\u308b\u5909\u5316\u3084\u52b9\u679c\u304c\u898b\u3048\u3066\u304d\u305f\u305f\u3081\u3001\u3044\u304f\u3064\u304b\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>\n<p><strong>\u8cac\u52d9\u306e\u5206\u96e2\u3068\u5206\u5c90\u306e\u524a\u6e1b<\/strong><\/p>\n<p>  \u30b5\u30fc\u30d3\u30b9\u3054\u3068\u306bRails\u30a2\u30d7\u30ea\u3092\u5206\u5272\u3057\u305f\u3053\u3068\u3067\u3001<code>if service_type<\/code> \u306e\u3088\u3046\u306a\u6761\u4ef6\u5206\u5c90\u304c\u4e0d\u8981\u306b\u306a\u308a\u3001\u30b3\u30fc\u30c9\u306e\u898b\u901a\u3057\u304c\u826f\u304f\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<\/li>\n<li>\n<p><strong>CI\/CD\u306e\u52b9\u7387\u5316<\/strong><\/p>\n<p>  CI\/CD\u306e\u8a2d\u5b9a\u3092\u898b\u76f4\u3057\u3001\u5909\u66f4\u304c\u3042\u3063\u305f\u30b5\u30fc\u30d3\u30b9\u306e\u307f\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u69cb\u6210\u306b\u5909\u66f4\u3057\u307e\u3057\u305f\u3002\u305d\u306e\u7d50\u679c\u3001\u30c6\u30b9\u30c8\u6642\u9593\u3092\u77ed\u7e2e\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<\/li>\n<li>\n<p><strong>Worker\u306e\u5206\u5272\u306b\u3088\u308b\u5b89\u5b9a\u5316<\/strong><\/p>\n<p>  \u5404\u30b5\u30fc\u30d3\u30b9\u304c\u72ec\u7acb\u3057\u305fSidekiq\u30d7\u30ed\u30bb\u30b9\u3092\u6301\u3064\u3088\u3046\u306b\u306a\u308a\u3001Admin\u5074\u306e\u91cd\u3044\u30b8\u30e7\u30d6\uff08\u4f8b\uff1a\u30e1\u30fc\u30eb\u914d\u4fe1\uff09\u304cSNS\u5074\u306e\u30b8\u30e7\u30d6\u51e6\u7406\u3092\u5727\u8feb\u3057\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>  \u3053\u308c\u306b\u3088\u308a\u30b5\u30fc\u30d3\u30b9\u9593\u306e\u30ea\u30bd\u30fc\u30b9\u5e72\u6e09\u304c\u89e3\u6d88\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>  \u76e3\u8996\u3084\u30a2\u30e9\u30fc\u30c8\u3082\u30b5\u30fc\u30d3\u30b9\u5358\u4f4d\u3067\u884c\u3048\u308b\u305f\u3081\u3001\u969c\u5bb3\u767a\u751f\u6642\u3082\u3069\u306e\u30b5\u30fc\u30d3\u30b9\u3067\u554f\u984c\u304c\u8d77\u304d\u3066\u3044\u308b\u304b\u3092\u5373\u5ea7\u306b\u7279\u5b9a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u6bb5\u968e\u7684\u306a\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u304c\u53ef\u80fd\u306b<\/strong><\/p>\n<p>  \u5404\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u72ec\u7acb\u3057\u305f\u74b0\u5883\u3092\u6301\u3064\u3088\u3046\u306b\u306a\u3063\u305f\u305f\u3081\u3001Admin\u3060\u3051\u5148\u306bRails\u3092\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u3068\u3044\u3063\u305f\u5bfe\u5fdc\u304c\u53ef\u80fd\u306b\u306a\u308a\u3001\u958b\u767a\u306e\u67d4\u8edf\u6027\u304c\u9ad8\u307e\u308a\u307e\u3057\u305f\u3002<\/p>\n<\/li>\n<\/ul>\n<h3 id=\"\u3055\u3044\u3054\u306b\">\u3055\u3044\u3054\u306b<\/h3>\n<p>\u307e\u3060\u7406\u60f3\u306e\u5f62\u306b\u306f\u305f\u3069\u308a\u7740\u3051\u3066\u3044\u307e\u305b\u3093\u304c\u3001\u4eca\u56de\u306e\u53d6\u308a\u7d44\u307f\u306b\u3088\u308b\u30e1\u30ea\u30c3\u30c8\u3084\u52b9\u679c\u304c\u5c11\u3057\u305a\u3064\u898b\u3048\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u4eca\u5f8c\u3082\u691c\u8a3c\u3068\u6539\u5584\u3092\u91cd\u306d\u306a\u304c\u3089\u3001\u3088\u308a\u30b9\u30b1\u30fc\u30eb\u3057\u3084\u3059\u304f\u3001\u958b\u767a\u3057\u3084\u3059\u3044\u69cb\u6210\u3092\u76ee\u6307\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u3082\u3057\u540c\u3058\u3088\u3046\u306a\u53d6\u308a\u7d44\u307f\u3092\u3055\u308c\u3066\u3044\u308b\u65b9\u304c\u3044\u3089\u3063\u3057\u3083\u308c\u3070\u3001\u305c\u3072\u304a\u8a71\u3092\u805e\u304b\u305b\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3053\u3053\u307e\u3067\u8aad\u3093\u3067\u304f\u3060\u3055\u308a\u3001\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3057\u305f\u3002<\/p>\n<hr\/>\n<p>YOUTRUST\u3067\u306f\u30a8\u30f3\u30b8\u30cb\u30a2\u3092\u52df\u96c6\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u8208\u5473\u306e\u3042\u308b\u65b9\u306f\u305c\u3072\u3054\u5fdc\u52df\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><iframe src=\"https:\/\/hatenablog-parts.com\/embed?url=https%3A%2F%2Fyoutrust.jp%2Frecruitment_posts%2F4ffe8e3e17f0379cdc5a706b79d13557\" title=\"YOUTRUST\u306e\u958b\u767a\u30c1\u30fc\u30e0\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3055\u305b\u3066\u304f\u3060\u3055\u3044\uff01 | \u682a\u5f0f\u4f1a\u793eYOUTRUST\u306e\u63a1\u7528\u52df\u96c6 | YOUTRUST\" class=\"embed-card embed-webcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 155px; max-width: 500px; margin: 10px 0px;\" loading=\"lazy\"><\/iframe><a target=\"_blank\" href=\"https:\/\/youtrust.jp\/recruitment_posts\/4ffe8e3e17f0379cdc5a706b79d13557\">YOUTRUST\u306e\u958b\u767a\u30c1\u30fc\u30e0\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3055\u305b\u3066\u304f\u3060\u3055\u3044\uff01 | \u682a\u5f0f\u4f1a\u793eYOUTRUST\u306e\u63a1\u7528\u52df\u96c6 | YOUTRUST<\/a><\/p>\n<p><iframe src=\"https:\/\/hatenablog-parts.com\/embed?url=https%3A%2F%2Fherp.careers%2Fv1%2Fyoutrustinc\" title=\"\u682a\u5f0f\u4f1a\u793eYOUTRUST \u306e\u5168\u3066\u306e\u6c42\u4eba\u4e00\u89a7\" class=\"embed-card embed-webcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 155px; max-width: 500px; margin: 10px 0px;\" loading=\"lazy\"><\/iframe><a target=\"_blank\" href=\"https:\/\/herp.careers\/v1\/youtrustinc\">\u682a\u5f0f\u4f1a\u793eYOUTRUST \u306e\u5168\u3066\u306e\u6c42\u4eba\u4e00\u89a7<\/a><\/p>\n<\/div>\n\n<br \/><a href=\"https:\/\/tech.youtrust.co.jp\/entry\/2025\/10\/31\/103850\">\u5143\u306e\u8a18\u4e8b\u3092\u78ba\u8a8d\u3059\u308b <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\u3053\u3093\u306b\u3061\u306f\u3001YOUTRUST\u306eWeb\u30a8\u30f3\u30b8\u30cb\u30a2\u4eca\u4e95(YOUTRUST \/ X)\u3067\u3059\u3002 YOUTRUST\u3067\u306f\u9577\u3089\u304f\u3001\u8907\u6570\u306e\u4e8b\u696d\u30c9\u30e1\u30a4\u30f3\u30921\u3064\u306eRails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u4e0a\u3067\u904b\u7528\u3057\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u30b5\u30fc\u30d3\u30b9\u3084\u6a5f\u80fd\u304c\u5897\u3048\u308b\u306b\u3064\u308c\u3001 [&hellip;]","protected":false},"author":1,"featured_media":22110,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-22109","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-company-tec"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>YOUTRUST\u306eRails\u3092\u5206\u5272\u3057\u305f\u8a71 \/ Rails Engine - YOUTRUST Tech Blog - \u30dd\u30b1\u30b3\u30f3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tech.youtrust.co.jp\/entry\/2025\/10\/31\/103850\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"YOUTRUST\u306eRails\u3092\u5206\u5272\u3057\u305f\u8a71 \/ Rails Engine - YOUTRUST Tech Blog - \u30dd\u30b1\u30b3\u30f3\" \/>\n<meta property=\"og:description\" content=\"\u3053\u3093\u306b\u3061\u306f\u3001YOUTRUST\u306eWeb\u30a8\u30f3\u30b8\u30cb\u30a2\u4eca\u4e95(YOUTRUST \/ X)\u3067\u3059\u3002 YOUTRUST\u3067\u306f\u9577\u3089\u304f\u3001\u8907\u6570\u306e\u4e8b\u696d\u30c9\u30e1\u30a4\u30f3\u30921\u3064\u306eRails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u4e0a\u3067\u904b\u7528\u3057\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u30b5\u30fc\u30d3\u30b9\u3084\u6a5f\u80fd\u304c\u5897\u3048\u308b\u306b\u3064\u308c\u3001 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tech.youtrust.co.jp\/entry\/2025\/10\/31\/103850\" \/>\n<meta property=\"og:site_name\" content=\"\u30dd\u30b1\u30b3\u30f3\" \/>\n<meta property=\"article:published_time\" content=\"2025-11-03T15:04:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/11\/1761883676.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"info@pokecon.jp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"info@pokecon.jp\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/tech.youtrust.co.jp\\\/entry\\\/2025\\\/10\\\/31\\\/103850#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/22109\\\/\"},\"author\":{\"name\":\"info@pokecon.jp\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\"},\"headline\":\"YOUTRUST\u306eRails\u3092\u5206\u5272\u3057\u305f\u8a71 \\\/ Rails Engine &#8211; YOUTRUST Tech Blog\",\"datePublished\":\"2025-11-03T15:04:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/22109\\\/\"},\"wordCount\":118,\"image\":{\"@id\":\"https:\\\/\\\/tech.youtrust.co.jp\\\/entry\\\/2025\\\/10\\\/31\\\/103850#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/1761883676.png\",\"articleSection\":[\"\u4f01\u696d\u30c6\u30c3\u30af\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/22109\\\/\",\"url\":\"https:\\\/\\\/tech.youtrust.co.jp\\\/entry\\\/2025\\\/10\\\/31\\\/103850\",\"name\":\"YOUTRUST\u306eRails\u3092\u5206\u5272\u3057\u305f\u8a71 \\\/ Rails Engine - YOUTRUST Tech Blog - \u30dd\u30b1\u30b3\u30f3\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/tech.youtrust.co.jp\\\/entry\\\/2025\\\/10\\\/31\\\/103850#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/tech.youtrust.co.jp\\\/entry\\\/2025\\\/10\\\/31\\\/103850#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/1761883676.png\",\"datePublished\":\"2025-11-03T15:04:22+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/tech.youtrust.co.jp\\\/entry\\\/2025\\\/10\\\/31\\\/103850#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/tech.youtrust.co.jp\\\/entry\\\/2025\\\/10\\\/31\\\/103850\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/tech.youtrust.co.jp\\\/entry\\\/2025\\\/10\\\/31\\\/103850#primaryimage\",\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/1761883676.png\",\"contentUrl\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/wp-content\\\/uploads\\\/2025\\\/11\\\/1761883676.png\",\"width\":1200,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/tech.youtrust.co.jp\\\/entry\\\/2025\\\/10\\\/31\\\/103850#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"YOUTRUST\u306eRails\u3092\u5206\u5272\u3057\u305f\u8a71 \\\/ Rails Engine &#8211; YOUTRUST Tech Blog\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#website\",\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/\",\"name\":\"\u30dd\u30b1\u30b3\u30f3\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/#\\\/schema\\\/person\\\/16c9f07b1ba984d165d9aee259bda997\",\"name\":\"info@pokecon.jp\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g\",\"caption\":\"info@pokecon.jp\"},\"url\":\"https:\\\/\\\/pokecon.jp\\\/job\\\/author\\\/infopokecon-jp\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"YOUTRUST\u306eRails\u3092\u5206\u5272\u3057\u305f\u8a71 \/ Rails Engine - YOUTRUST Tech Blog - \u30dd\u30b1\u30b3\u30f3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/tech.youtrust.co.jp\/entry\/2025\/10\/31\/103850","og_locale":"ja_JP","og_type":"article","og_title":"YOUTRUST\u306eRails\u3092\u5206\u5272\u3057\u305f\u8a71 \/ Rails Engine - YOUTRUST Tech Blog - \u30dd\u30b1\u30b3\u30f3","og_description":"\u3053\u3093\u306b\u3061\u306f\u3001YOUTRUST\u306eWeb\u30a8\u30f3\u30b8\u30cb\u30a2\u4eca\u4e95(YOUTRUST \/ X)\u3067\u3059\u3002 YOUTRUST\u3067\u306f\u9577\u3089\u304f\u3001\u8907\u6570\u306e\u4e8b\u696d\u30c9\u30e1\u30a4\u30f3\u30921\u3064\u306eRails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u4e0a\u3067\u904b\u7528\u3057\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u30b5\u30fc\u30d3\u30b9\u3084\u6a5f\u80fd\u304c\u5897\u3048\u308b\u306b\u3064\u308c\u3001 [&hellip;]","og_url":"https:\/\/tech.youtrust.co.jp\/entry\/2025\/10\/31\/103850","og_site_name":"\u30dd\u30b1\u30b3\u30f3","article_published_time":"2025-11-03T15:04:22+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/11\/1761883676.png","type":"image\/png"}],"author":"info@pokecon.jp","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"info@pokecon.jp","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tech.youtrust.co.jp\/entry\/2025\/10\/31\/103850#article","isPartOf":{"@id":"https:\/\/pokecon.jp\/job\/22109\/"},"author":{"name":"info@pokecon.jp","@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997"},"headline":"YOUTRUST\u306eRails\u3092\u5206\u5272\u3057\u305f\u8a71 \/ Rails Engine &#8211; YOUTRUST Tech Blog","datePublished":"2025-11-03T15:04:22+00:00","mainEntityOfPage":{"@id":"https:\/\/pokecon.jp\/job\/22109\/"},"wordCount":118,"image":{"@id":"https:\/\/tech.youtrust.co.jp\/entry\/2025\/10\/31\/103850#primaryimage"},"thumbnailUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/11\/1761883676.png","articleSection":["\u4f01\u696d\u30c6\u30c3\u30af"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/pokecon.jp\/job\/22109\/","url":"https:\/\/tech.youtrust.co.jp\/entry\/2025\/10\/31\/103850","name":"YOUTRUST\u306eRails\u3092\u5206\u5272\u3057\u305f\u8a71 \/ Rails Engine - YOUTRUST Tech Blog - \u30dd\u30b1\u30b3\u30f3","isPartOf":{"@id":"https:\/\/pokecon.jp\/job\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tech.youtrust.co.jp\/entry\/2025\/10\/31\/103850#primaryimage"},"image":{"@id":"https:\/\/tech.youtrust.co.jp\/entry\/2025\/10\/31\/103850#primaryimage"},"thumbnailUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/11\/1761883676.png","datePublished":"2025-11-03T15:04:22+00:00","author":{"@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997"},"breadcrumb":{"@id":"https:\/\/tech.youtrust.co.jp\/entry\/2025\/10\/31\/103850#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tech.youtrust.co.jp\/entry\/2025\/10\/31\/103850"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/tech.youtrust.co.jp\/entry\/2025\/10\/31\/103850#primaryimage","url":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/11\/1761883676.png","contentUrl":"https:\/\/pokecon.jp\/job\/wp-content\/uploads\/2025\/11\/1761883676.png","width":1200,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/tech.youtrust.co.jp\/entry\/2025\/10\/31\/103850#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/pokecon.jp\/job\/"},{"@type":"ListItem","position":2,"name":"YOUTRUST\u306eRails\u3092\u5206\u5272\u3057\u305f\u8a71 \/ Rails Engine &#8211; YOUTRUST Tech Blog"}]},{"@type":"WebSite","@id":"https:\/\/pokecon.jp\/job\/#website","url":"https:\/\/pokecon.jp\/job\/","name":"\u30dd\u30b1\u30b3\u30f3","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pokecon.jp\/job\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/pokecon.jp\/job\/#\/schema\/person\/16c9f07b1ba984d165d9aee259bda997","name":"info@pokecon.jp","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2b0549cd9f7907c092ca5fbb283baf72337f235726e4b46fa39ec0b701ac2fe2?s=96&d=wavatar&r=g","caption":"info@pokecon.jp"},"url":"https:\/\/pokecon.jp\/job\/author\/infopokecon-jp\/"}]}},"_links":{"self":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/22109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/comments?post=22109"}],"version-history":[{"count":1,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/22109\/revisions"}],"predecessor-version":[{"id":22111,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/posts\/22109\/revisions\/22111"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/media\/22110"}],"wp:attachment":[{"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/media?parent=22109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/categories?post=22109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pokecon.jp\/job\/wp-json\/wp\/v2\/tags?post=22109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}