<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>k-sato_at_oiax</author_name>
  <author_url>https://blog.hatena.ne.jp/k-sato_at_oiax/</author_url>
  <blog_title>Rubyリファレンス日記</blog_title>
  <blog_url>https://k-sato-at-oiax.hatenadiary.org/</blog_url>
  <categories>
    <anon>Rails</anon>
  </categories>
  <description>以前から気になっていたけど調べたことのなかったRailsのアノ機能を調べてみました。開発環境でソースを修正→ブラウザーをリロード→変更が反映、の機能です。どうやっているかというと、RubyのModule#const_missingとModule#remove_constを使っています。ソースコードはactivesupport-x.x.x/lib/active_support/dependencies.rbにあります。 Module#const_missingを定義する。 存在しないクラス名（定数名）にぶつかると、const_missingが呼ばれる。 const_missingでは、クラス名を…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fk-sato-at-oiax.hatenadiary.org%2Fentry%2F20100622%2F1277209893&quot; title=&quot;Railsの開発環境の自動再読み込みはどうやってるのか - Rubyリファレンス日記&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-06-22 21:31:33</published>
  <title>Railsの開発環境の自動再読み込みはどうやってるのか</title>
  <type>rich</type>
  <url>https://k-sato-at-oiax.hatenadiary.org/entry/20100622/1277209893</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
