<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>joker1007</author_name>
  <author_url>https://blog.hatena.ne.jp/joker1007/</author_url>
  <blog_title>joker1007’s diary</blog_title>
  <blog_url>https://joker1007.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>Rails</anon>
  </categories>
  <description>Railsのバージョンは3.2.8時点のものです。(2012/8/21追記) 前回の冒頭で書いてたので、Rails版も書いてみようと思う。 要は、困ったらリファレンスマニュアルのそれっぽいところ見れば、 Ruby/Railsは大体解決してくれるよ(しかもスマートに)って感じなので、 悩んだらハマる前に一回公式に帰るのもいい手段だと思ってます。 でも、RailsのAPIリファレンスどこに何書いてるか分かりづらいと思う。 例えば、has_many関連には、実は:after_addとか:before_removeとか、 その手のコールバックをProcで渡せるんだけど、メソッドの説明の所に書いてないん…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjoker1007.hatenablog.com%2Fentry%2F20120818%2F1345292967&quot; title=&quot; Railserなら知っておくべき地味だけど便利なメソッド - joker1007’s diary&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>2012-08-18 21:29:27</published>
  <title> Railserなら知っておくべき地味だけど便利なメソッド</title>
  <type>rich</type>
  <url>https://joker1007.hatenablog.com/entry/20120818/1345292967</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
