<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>biwakonbu</author_name>
  <author_url>https://blog.hatena.ne.jp/biwakonbu/</author_url>
  <blog_title>Konbuの技術 &amp;&amp; 読書録</blog_title>
  <blog_url>https://biwakonbu.hatenadiary.org/</blog_url>
  <categories>
    <anon>rails</anon>
    <anon>programming</anon>
    <anon>ruby</anon>
  </categories>
  <description>attr_accessible の挙動を忘れないように記録。 class LineItem &lt; ActiveRecord::Base attr_accessible :product, :product_id, :id, :updated_at, :cart_id, :created_at belongs_to :cart belongs_to :product end 上記のモデルを作成していたとすると、attr_accessible によって指定した DB のカラムに対して読み書きが出来る権限を LineItem クラスに付ける事ができる。指定していない場合 ActiveModel::Ma…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbiwakonbu.hatenadiary.org%2Fentry%2F20130522%2F1369254695&quot; title=&quot;rails の備忘録 - Konbuの技術 &amp;amp;&amp;amp; 読書録&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://ws.assoc-amazon.jp/widgets/q?_encoding=UTF8&amp;ASIN=4274068668&amp;Format=_SL160_&amp;ID=AsinImage&amp;MarketPlace=JP&amp;ServiceVersion=20070822&amp;WS=1&amp;tag=biwakonbu-22</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-05-22 05:31:35</published>
  <title>rails の備忘録</title>
  <type>rich</type>
  <url>https://biwakonbu.hatenadiary.org/entry/20130522/1369254695</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
