<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>osyo-manga</author_name>
  <author_url>https://blog.hatena.ne.jp/osyo-manga/</author_url>
  <blog_title>Secret Garden(Instrumental)</blog_title>
  <blog_url>https://secret-garden.hatenablog.com/</blog_url>
  <categories>
    <anon>Rails</anon>
    <anon>ActiveRecord</anon>
    <anon>Ruby</anon>
  </categories>
  <description>任意のレコードの updated_at のみを更新する際に ActiveRecord の #touch を使うことはあると思います。 class User &lt; ActiveRecord::Base end user = User.create(name: &quot;Homu&quot;) pp user.updated_at.iso8601(10) # =&gt; &quot;2019-02-18T12:36:37.2315494900Z&quot; # updated_at のみを更新する user.touch pp user.updated_at.iso8601(10) # =&gt; &quot;2019-02-18T12:36:37.23154…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsecret-garden.hatenablog.com%2Fentry%2F2019%2F02%2F18%2F214528&quot; title=&quot;Rails の touch 時に処理をフックする - Secret Garden(Instrumental)&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>2019-02-18 21:45:28</published>
  <title>Rails の touch 時に処理をフックする</title>
  <type>rich</type>
  <url>https://secret-garden.hatenablog.com/entry/2019/02/18/214528</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
