<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>abikounso</author_name>
  <author_url>https://blog.hatena.ne.jp/abikounso/</author_url>
  <blog_title>超初心者のロボット製作日記</blog_title>
  <blog_url>https://abikounso.hatenadiary.org/</blog_url>
  <categories>
    <anon>rails</anon>
    <anon>ruby</anon>
    <anon>ar_extractor</anon>
  </categories>
  <description>DBから、YAML形式のフィクスチャを出力するプラグインとして有名なものに、ar_fixturesがある。 が、いろいろ調べてみたら、いくつか問題点があるようなので、elm200さんの記事を参考に、プラグインを自作してみた。 環境 Rails 2.2 elm200さんによると、ar_fixturesの問題点は •内部的にto_yamlメソッドを使用しているため、UTF-8の文字列をうまく扱えない •出力されるカラムの順序がバラバラ とのこと。 これをふまえて、プラグインの製作にかかる。 elm200さんのコードからの改良点は Rails 2.2への対応 テスト環境にrspecを使用している場合…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fabikounso.hatenadiary.org%2Fentry%2F20090617%2F1245230901&quot; title=&quot;DBから、YAMLフィクスチャを出力するRailsプラグインを公開  - 超初心者のロボット製作日記&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>2009-06-17 18:28:21</published>
  <title>DBから、YAMLフィクスチャを出力するRailsプラグインを公開 </title>
  <type>rich</type>
  <url>https://abikounso.hatenadiary.org/entry/20090617/1245230901</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
