<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shinkufencer</author_name>
  <author_url>https://blog.hatena.ne.jp/shinkufencer/</author_url>
  <blog_title>コード日進月歩</blog_title>
  <blog_url>https://shinkufencer.hateblo.jp/</blog_url>
  <categories>
    <anon>Rails</anon>
    <anon>Ruby</anon>
  </categories>
  <description>すごい抽象的なタイトルだが実際困った事があったのでメモ 例 例えば拡張現実（Augmented Reality）のモデルを表現するクラスを作るとする。そうするときにar_model.rbというファイル名で、中身を以下のように書く。 class ARModel include ActiveModel::Model attr_accessor :name, :type end ただ、以下のようにもかける class ArModel # 後略 これはクラス名だけではなくモジュール名でも同じことが起きるので、ディレクトリ設計やファイル命名では気をつけること。 起きうる問題 例えば app/model/…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinkufencer.hateblo.jp%2Fentry%2F2025%2F10%2F18%2F000000&quot; title=&quot; 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>2025-10-18 00:00:00</published>
  <title> Railsで大文字が連続するクラス名をつけるときは統一感を損なわないように気をつける</title>
  <type>rich</type>
  <url>https://shinkufencer.hateblo.jp/entry/2025/10/18/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
