<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Thoames1212</author_name>
  <author_url>https://blog.hatena.ne.jp/Thoames1212/</author_url>
  <blog_title>とーますメモ</blog_title>
  <blog_url>https://thoames.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Rails</anon>
    <anon>Carrierwave</anon>
  </categories>
  <description>自分の用途としては、ただ画像を外部APIへ送信するため ローカルDBに保存する必要がなかった。しかし、多くのサイトを見るとCarrierwaveをActiveRecordと併せて使用する サンプル例が多いため、自分で調べてみた。 インストール Gemfileに追記 gem 'carrierwave' インストール $ bundle install アップローダーの作成 ImageUploaderという名前のアップローダーを作成 $ rails g uploader image アップローダーと画像保存用フィールドのマウント 多くの記事に載っているように Carrierwaveを使用し、画像アッ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthoames.hatenadiary.jp%2Fentry%2F2018%2F02%2F14%2F025122&quot; title=&quot;【Rails】Carrierwave(1.2.2)をActiveRecordと切り離して使用する方法を試してみた。 - とーますメモ&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>2018-02-14 02:51:22</published>
  <title>【Rails】Carrierwave(1.2.2)をActiveRecordと切り離して使用する方法を試してみた。</title>
  <type>rich</type>
  <url>https://thoames.hatenadiary.jp/entry/2018/02/14/025122</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
