{"author_url":"https://blog.hatena.ne.jp/patorash/","author_name":"patorash","blog_title":"patorash\u306e\u30d6\u30ed\u30b0","published":"2020-12-02 18:29:15","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpatorash.hatenablog.com%2Fentry%2F2020%2F12%2F02%2F182915\" title=\"ActiveStorage\u3067\u753b\u50cf\u3092\u8ffd\u52a0\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b - patorash\u306e\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>","height":"190","url":"https://patorash.hatenablog.com/entry/2020/12/02/182915","blog_url":"https://patorash.hatenablog.com/","title":"ActiveStorage\u3067\u753b\u50cf\u3092\u8ffd\u52a0\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","description":"\u3055\u3063\u304d\u3053\u3093\u306a\u8a18\u4e8b\u3092\u66f8\u304d\u307e\u3057\u305f\u3002 patorash.hatenablog.com \u4eca\u5ea6\u306f\u3001\u66f4\u65b0\u3067\u753b\u50cf\u3092\u8ffd\u52a0\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u3053\u308d\u3001\u4e0a\u66f8\u304d\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002 \u8ffd\u52a0\u3055\u308c\u308b\u3068\u601d\u3063\u3066\u3044\u305f\u306e\u3067\u3073\u3063\u304f\u308a\u306a\u6319\u52d5\u3067\u3057\u305f\u304c\u3001\u305d\u306e\u8fba\u308a\u306f\u3053\u306eissue\u306b\u3042\u308a\u307e\u3059\u3002 github.com Rails5\u307e\u3067\u306f\u3001\u8ffd\u52a0\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u52d5\u4f5c\u3067\u3057\u305f\u304c\u3001Rails6\u304b\u3089\u306f\u4e0a\u66f8\u304d\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u52d5\u4f5c\u306b\u306a\u308a\u307e\u3059\u3002 Rails5\u306e\u52d5\u4f5c\u3068\u540c\u3058\u306b\u3057\u305f\u3044\u5834\u5408\u306f\u3001config/application.rb\u306a\u3069\u3067\u3001\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u304c\u5fc5\u8981\u3067\u3059\u3002 config.active_storage.replace_on_assign_to_many = false \u3057\u304b\u2026","width":"100%","image_url":null,"type":"rich","version":"1.0","categories":["Ruby on Rails","Ruby"]}