{"blog_title":"\u6280\u8853\u30d6\u30ed\u30b0","categories":["Rails"],"published":"2022-08-02 17:30:40","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Flhiroki1205.hatenablog.com%2Fentry%2F2022%2F08%2F02%2F173040\" title=\"Rails\u3067\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c\u3059\u308b\u3068\u304d - \u6280\u8853\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"Rails\u3067\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c\u3059\u308b\u3068\u304d Rails\u3067\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c\u3059\u308b\u3068\u304d\u306fDir.children\uff08Ruby2.5\u4ee5\u4e0a\u3067\u5229\u7528\u53ef\u80fd\uff09\u3067\u306f\u306a\u304frails.root.join\u3092\u5229\u7528\u3059\u308b\u65b9\u304c\u826f\u3044\u3002 Dir.children\u5b9f\u884c\u6642\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u306e\u76f8\u5bfepath\u3067\u53d6\u5f97\u3057\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u5b9f\u884c\u7b87\u6240\u306b\u3088\u3063\u3066\u52d5\u304b\u306a\u304f\u306a\u308b\u30b1\u30fc\u30b9\u304c\u7a00\u306b\u3042\u308b\u3002 \u4e00\u65b9rails.root.join\u306froot\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u306e\u76f8\u5bfe\u30d1\u30b9\u3067\u53d6\u5f97\u3067\u304d\u308b\u306e\u3067\u3001\u5b9f\u884c\u500b\u6240\u306b\u3088\u3063\u3066\u52d5\u304f\u306a\u308b\u30b1\u30fc\u30b9\u304c\u306a\u3044\u3002 \u53c2\u8003\u30b5\u30a4\u30c8 Ruby 2.5\u65b0\u30e1\u30bd\u30c3\u30c9: Dir.children \u3068 Dir.each_child\uff08\u7ffb\u8a33\uff09\uff5cTechRacho by BPS\u682a\u5f0f\u4f1a\u793e Rails\u2026","width":"100%","title":"Rails\u3067\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c\u3059\u308b\u3068\u304d","type":"rich","author_name":"lhiroki1205","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/lhiroki1205/","provider_name":"Hatena Blog","image_url":null,"url":"https://lhiroki1205.hatenablog.com/entry/2022/08/02/173040","version":"1.0","height":"190","blog_url":"https://lhiroki1205.hatenablog.com/"}