<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kgmyshin</author_name>
  <author_url>https://blog.hatena.ne.jp/kgmyshin/</author_url>
  <blog_title>アナログ金木犀</blog_title>
  <blog_url>https://motida-japan.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby on Rails</anon>
  </categories>
  <description>これってみんなどこに書いてるんですかね？ 私自身は嗜む程度には書いてきましたが、ゴリゴリやってきたってわけでもないのでお手柔らかにお願いしますm m 今日通知処理を実装してました。 Qiitaとか例にすると、自分が書いた記事を誰かがストックしたり、コメントしたり、Twitterでつぶやいたりすると右上に出てくるあの数字のやつです。 たとえば、僕の記事を誰かがストックした場合って大雑把におそらく下記の2つの処理が走るようになってるのだと思います。 Stock.createが走る Notification.createが走る このときこれらの処理をどこに書きますか？ってのを考えてみました。 で、正…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmotida-japan.hatenablog.com%2Fentry%2F2015%2F07%2F27%2F031341&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>2015-07-27 03:13:41</published>
  <title> 複数ActiveRecordにまたがった処理をどこに書くか</title>
  <type>rich</type>
  <url>https://motida-japan.hatenablog.com/entry/2015/07/27/031341</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
