<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>willnet</author_name>
  <author_url>https://blog.hatena.ne.jp/willnet/</author_url>
  <blog_title>おもしろwebサービス開発日記</blog_title>
  <blog_url>https://blog.willnet.in/</blog_url>
  <categories>
    <anon>rails</anon>
  </categories>
  <description>リレーション関連がうまく使いこなせていないので、railsによるアジャイルwebアプリケーション開発を読み返してみた。勉強になったことをメモメモ。 テーブル情報の取得 下記のようなマイグレーションでpeopleテーブルが定義されているとして、 create_table :people do |t| t.string :name t.integer :age t.boolean :auth end Person.columun_namesでカラムの名前を配列で取得できる。(クラスメソッド) Person.column_hash[&quot;name&quot;]のようにすると、Personのname列の情報(デフォ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.willnet.in%2Fentry%2F20080429%2F1209482478&quot; title=&quot;ActiveRecord復習 - おもしろwebサービス開発日記&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>http://ecx.images-amazon.com/images/I/51Y+viLzM5L.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-04-29 00:21:18</published>
  <title>ActiveRecord復習</title>
  <type>rich</type>
  <url>https://blog.willnet.in/entry/20080429/1209482478</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
