<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ichiro_tanaka</author_name>
  <author_url>https://blog.hatena.ne.jp/ichiro_tanaka/</author_url>
  <blog_title>タナカイチロウの日記</blog_title>
  <blog_url>https://ichiro-tanaka.hatenadiary.org/</blog_url>
  <categories>
    <anon>Rails</anon>
    <anon>Ruby</anon>
  </categories>
  <description>Validationしてるのに例外が発生しないで困った。またしてもほぼここで解決 http://underrails.seesaa.net/article/54757146.htmlrescue ActiveRecord::RecordInvalidで補足、なんだけどどうやら例外を発生させるメソッドとそうでないメソッドがある模様。 update_attributesも例外を発生させない。update_atributes!だと発生した。 レコード作成or更新系の破壊的メソッドの時は例外なのかな？後でもう少しちゃんと調べたい。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fichiro-tanaka.hatenadiary.org%2Fentry%2F20090217%2F1234857864&quot; title=&quot;ActiveRecordの例外を補足したい - タナカイチロウの日記&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>2009-02-17 17:04:24</published>
  <title>ActiveRecordの例外を補足したい</title>
  <type>rich</type>
  <url>https://ichiro-tanaka.hatenadiary.org/entry/20090217/1234857864</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
