<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>elm200</author_name>
  <author_url>https://blog.hatena.ne.jp/elm200/</author_url>
  <blog_title>elm200 の日記(旧はてなダイアリー)</blog_title>
  <blog_url>https://elm200.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby on Rails</anon>
  </categories>
  <description>file_column はイメージファイルをアップロードするときにはとても重宝する。ただ気に入らないのはイメージファイルを public の直下にどんどん保存していくことだ。正確には $RAILSAPP/public/(モデル名)/(カラム名)/(ID) というディレクトリを作ってそこにイメージファイルを保存する。たとえば、public/images/file_column/(モデル名)/(カラム名)/(ID)/イメージファイルというパスに保存するにはどうすればいいだろうか？答えは、vendor/plugins/file_column/lib/file_column.rb にある DEFAUL…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Felm200.hatenadiary.org%2Fentry%2F20070917%2F1190033653&quot; title=&quot;file_column でイメージファイルの保存ディレクトリを変更する - elm200 の日記(旧はてなダイアリー)&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>2007-09-17 21:54:13</published>
  <title>file_column でイメージファイルの保存ディレクトリを変更する</title>
  <type>rich</type>
  <url>https://elm200.hatenadiary.org/entry/20070917/1190033653</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
