<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>patorash</author_name>
  <author_url>https://blog.hatena.ne.jp/patorash/</author_url>
  <blog_title>patorashのブログ</blog_title>
  <blog_url>https://patorash.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby on Rails</anon>
    <anon>Ruby</anon>
  </categories>
  <description>さっきこんな記事を書きました。 patorash.hatenablog.com 今度は、更新で画像を追加しようとしたところ、上書きされてしまいました。 追加されると思っていたのでびっくりな挙動でしたが、その辺りはこのissueにあります。 github.com Rails5までは、追加がデフォルトの動作でしたが、Rails6からは上書きがデフォルトの動作になります。 Rails5の動作と同じにしたい場合は、config/application.rbなどで、以下の設定が必要です。 config.active_storage.replace_on_assign_to_many = false しか…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpatorash.hatenablog.com%2Fentry%2F2020%2F12%2F02%2F182915&quot; title=&quot;ActiveStorageで画像を追加アップロードする - patorashのブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-12-02 18:29:15</published>
  <title>ActiveStorageで画像を追加アップロードする</title>
  <type>rich</type>
  <url>https://patorash.hatenablog.com/entry/2020/12/02/182915</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
