<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shiba_yu36</author_name>
  <author_url>https://blog.hatena.ne.jp/shiba_yu36/</author_url>
  <blog_title>$shibayu36-&gt;blog;</blog_title>
  <blog_url>https://blog.shibayu36.org/</blog_url>
  <categories>
    <anon>rails</anon>
  </categories>
  <description>rails 2では普通に使えたconfigatronが、3では強引にやらないとできなかったのでメモしておきます。 configatronとは configatronとは、rubyアプリケーション内で設定を簡単に作り、どこからでも使うように出来るライブラリです。railsでは実行環境によって設定項目を作る事も出来ます。ローカル環境と本番環境でリンク先を変えたいという時などに便利なライブラリです。 例えばRailsでconfig/config.ymlに以下のように書きます。 production: hoge: hoge_production fuga: fuga_production develo…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.shibayu36.org%2Fentry%2F20100831%2F1283213424&quot; title=&quot;rails 3でconfigatronを使う - $shibayu36-&amp;gt;blog;&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>2010-08-31 09:10:24</published>
  <title>rails 3でconfigatronを使う</title>
  <type>rich</type>
  <url>https://blog.shibayu36.org/entry/20100831/1283213424</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
