<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>d4-1977</author_name>
  <author_url>https://blog.hatena.ne.jp/d4-1977/</author_url>
  <blog_title>めも帖</blog_title>
  <blog_url>https://d4-1977.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby on Rails</anon>
  </categories>
  <description>Rails 4 に限らないかもしれないのですが、どこに定数を設定するべきなんでしょうか。 最近（？）は、「app/initializers/constants.rb」というのを作って置いたりするんです。 Rails のアプリ内で使う定数記載箇所？管理について、決定打がなくて、もやもやしていることです。 app/initializers/constants.rb 「app/initializers/constants.rb」は、 こんな感じで書いています。 # 定数 # 基本情報 SITE_NAME = &quot;ふがふが&quot; SITE_URL = ‘urlを書く' STATUS_TYPE = { 公開:…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fd4-1977.hatenablog.com%2Fentry%2F2014%2F01%2F15%2F005323&quot; title=&quot;Rails 4 での定数をどこにおいておくべきか - めも帖&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>2014-01-15 00:53:23</published>
  <title>Rails 4 での定数をどこにおいておくべきか</title>
  <type>rich</type>
  <url>https://d4-1977.hatenablog.com/entry/2014/01/15/005323</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
