{"id":124618,"date":"2024-08-15T09:14:29","date_gmt":"2024-08-15T00:14:29","guid":{"rendered":"https:\/\/softantenna.com\/blog\/?p=124618"},"modified":"2024-08-15T09:14:29","modified_gmt":"2024-08-15T00:14:29","slug":"rails-7-2","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/rails-7-2\/","title":{"rendered":"Rails 7.2\u304c\u30ea\u30ea\u30fc\u30b9\u3002\u3088\u308a\u826f\u3044\u30d7\u30ed\u30c0\u30af\u30b7\u30e7\u30f3\u30c7\u30d5\u30a9\u30eb\u30c8\u3084Dev\u30b3\u30f3\u30c6\u30ca\u3001\u65b0\u3057\u3044\u30ac\u30a4\u30c9\u30c7\u30b6\u30a4\u30f3\u306a\u3069\u65b0\u6a5f\u80fd\u304c\u76db\u308a\u3060\u304f\u3055\u3093"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2024\/08\/s_20240815_090144.jpg\" alt=\"S 20240815 090144\" title=\"s_20240815_090144.jpg\" border=\"0\" width=\"931\" height=\"582\" \/><\/p>\n<p>Rails\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f8\u670810\u65e5(\u73fe\u5730\u6642\u9593)\u3001Rails\u306e\u30e1\u30b8\u30e3\u30fc\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u7248\u300cRails 7.2\u300d\u3092\u30ea\u30ea\u30fc\u30b9\u3057\u307e\u3057\u305f(<a href=\"https:\/\/rubyonrails.org\/2024\/8\/10\/Rails-7-2-0-has-been-released\">\u516c\u5f0f\u30d6\u30ed\u30b0<\/a>)\u3002\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306fRails 7.1\u4ee5\u964d\u3001400\u4eba\u4ee5\u4e0a\u306e\u8ca2\u732e\u8005\u306b\u3088\u3063\u30662,500\u306b\u8fd1\u3044\u30b3\u30df\u30c3\u30c8\u304c\u884c\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Rails 7.2\u3067\u306f\u3001\u3088\u308a\u52b9\u7387\u7684\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3067\u304d\u308b\u3088\u3046\u306b\u30d7\u30ed\u30c0\u30af\u30b7\u30e7\u30f3\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u304c\u6539\u5584\u3055\u308c\u3066\u3044\u307e\u3059\u3002Rails\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u5927\u5e45\u306b\u5411\u4e0a\u3055\u305b\u308bYJIT\u306f\u3001Rails 3.3\u4ee5\u964d\u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u6709\u52b9\u306b\u306a\u308a\u3001Rails\u304c\u751f\u6210\u3059\u308b\u30c7\u30d5\u30a9\u30eb\u30c8\u306eDockerfile\u306b\u306f\u3001\u30e1\u30e2\u30ea\u5272\u308a\u5f53\u3066\u3092\u6700\u9069\u5316\u3059\u308b\u305f\u3081\u306ejemalloc\u304c\u542b\u307e\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u958b\u767a\u30b3\u30f3\u30c6\u30ca(dev\u30b3\u30f3\u30c6\u30ca)\u306f\u3001\u30b3\u30f3\u30c6\u30ca\u3092\u30d5\u30eb\u6a5f\u80fd\u306e\u958b\u767a\u74b0\u5883\u3068\u3057\u3066\u4f7f\u7528\u3059\u308b\u3053\u3068\u3092\u53ef\u80fd\u306b\u3059\u308b\u3082\u306e\u3067\u3001Rails 7.2\u3067\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u958b\u767a\u30b3\u30f3\u30c6\u30ca\u8a2d\u5b9a\u3092\u751f\u6210\u3059\u308b\u6a5f\u80fd\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f\u3002Dockerfile\u3092\u542b\u3080.devcontainer\u30d5\u30a9\u30eb\u30c0\u3001docker-compose.yml\u30d5\u30a1\u30a4\u30eb\u3001devcontainer.json\u30d5\u30a1\u30a4\u30eb\u304c\u542b\u307e\u308c\u307e\u3059\u3002<\/p>\n<p>\u958b\u767a\u30b3\u30f3\u30c6\u30ca\u3092\u4f7f\u3063\u3066\u65b0\u3057\u3044\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u751f\u6210\u3059\u308b\u306b\u306f\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre>\nrails new myapp --devcontainer\n<\/pre>\n<p>\u305d\u306e\u4ed6\u3001Rails\u30ac\u30a4\u30c9\u306e\u5237\u65b0\u3084\u3001\u4ee5\u4e0b\u306e\u65b0\u6a5f\u80fd\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u307e\u3059:<\/p>\n<ul>\n<li>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u30d6\u30e9\u30a6\u30b6\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30ac\u30fc\u30c9\u3092\u8ffd\u52a0\u3002<\/li>\n<li>Ruby 3.1\u3092\u65b0\u3057\u3044\u6700\u5c0f\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u3002<\/li>\n<li>Progressive Web Application (PWA) \u30d5\u30a1\u30a4\u30eb\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u306b\u3002<\/li>\n<li>\u304a\u307e\u304b\u305bRuboCop\u30eb\u30fc\u30eb\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u8ffd\u52a0\u3002<\/li>\n<li>GitHub CI \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u65b0\u3057\u3044\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u8ffd\u52a0\u3002<\/li>\n<li>\u65b0\u3057\u3044\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u30c7\u30d5\u30a9\u30eb\u30c8\u3067 Brakeman \u3092\u8ffd\u52a0\u3002<\/li>\n<li>\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u5185\u3067\u30b8\u30e7\u30d6\u304c\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u3055\u308c\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u3002<\/li>\n<li>\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u3054\u3068\u306e\u30b3\u30df\u30c3\u30c8\u3068\u30ed\u30fc\u30eb\u30d0\u30c3\u30af\u306e\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u3002<\/li>\n<li>bin\/setup\u306bpuma-dev\u306e\u8a2d\u5b9a\u3092\u63d0\u6848\u3002<\/li>\n<\/ul>\n<p>Ruby on Rails 7.2\u306e\u65b0\u6a5f\u80fd\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/guides.rubyonrails.org\/7_2_release_notes.html\">\u30ea\u30ea\u30fc\u30b9\u30ce\u30fc\u30c8<\/a>\u3067\u3082\u78ba\u8a8d\u53ef\u80fd\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Rails\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f8\u670810\u65e5(\u73fe\u5730\u6642\u9593)\u3001Rails\u306e\u30e1\u30b8\u30e3\u30fc\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u7248\u300cRails 7.2\u300d\u3092\u30ea\u30ea\u30fc\u30b9\u3057\u307e\u3057\u305f(\u516c\u5f0f\u30d6\u30ed\u30b0)\u3002\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306fRails 7.1\u4ee5\u964d\u3001400\u4eba\u4ee5\u4e0a\u306e\u8ca2\u732e\u8005\u306b\u3088\u3063\u30662,500\u306b [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":124619,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[75],"tags":[350],"class_list":["post-124618","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","tag-rails"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/124618","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=124618"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/124618\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/124619"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=124618"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=124618"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=124618"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}