<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>UnderSourceCode</author_name>
  <author_url>https://blog.hatena.ne.jp/UnderSourceCode/</author_url>
  <blog_title>ソースコードから理解する技術－ＵｎｄｅｒＳｏｕｒｃｅＣｏｄｅ</blog_title>
  <blog_url>https://undersourcecode.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby on Rails</anon>
  </categories>
  <description>前回に引き続き、spreeを弄っています。admin画面より通貨を「Japanese Yen」(つまり円)に設定したところ トップページに商品が表示されなくなりました。・通貨の設定 結局、No products if changing currencyを参考にし、 spree_pricesテーブルのcurrencyカラムが「JPY」で、ammountカラムがNULLのデータについて ammountカラムに適切な金額を入れてあげることで解決しました。・spree_pricesテーブルの設定 ・ホームに円で商品を表示 以上です。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fundersourcecode.hatenablog.com%2Fentry%2F20130320%2F1363781357&quot; title=&quot;Ruby on RailsでのECサイト - spree(2) 通貨を円にした場合の商品表示 - ソースコードから理解する技術－ＵｎｄｅｒＳｏｕｒｃｅＣｏｄｅ&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>http://blog-imgs-43.fc2.com/u/n/d/undersourcecode/spree-choose_currency_2.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-03-20 21:09:17</published>
  <title>Ruby on RailsでのECサイト - spree(2) 通貨を円にした場合の商品表示</title>
  <type>rich</type>
  <url>https://undersourcecode.hatenablog.com/entry/20130320/1363781357</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
