<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>s-takaya1027</author_name>
  <author_url>https://blog.hatena.ne.jp/s-takaya1027/</author_url>
  <blog_title>何かやってみるブログ</blog_title>
  <blog_url>https://takayasugiyama.com/</blog_url>
  <categories>
  </categories>
  <description>レビューしている時に touchメソッド使って current_sign_in_atとかを力技で更新をしているのをみてもっと良い方法がないかと調べて見つけたのでメモに残す。 結論としては Devise::Models::Trackableモジュールの #update_track_fields!を使えば良い。 リポジトリを In this repository検索して出てきたコードを読んで見つけたので何かで使ったときは同じ手法を使ってみたい。 https://github.com/heartcombo/devise/blob/8593801130f2df94a50863b5db535c272b0…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakayasugiyama.com%2Fentry%2F2022%2F03%2F31%2F122545&quot; title=&quot; [Rails メモ] Deviseでログイン回数とかトラッキング情報を意図的にUpdateしたい場合 - 何かやってみるブログ&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>2022-03-31 12:25:45</published>
  <title> [Rails メモ] Deviseでログイン回数とかトラッキング情報を意図的にUpdateしたい場合</title>
  <type>rich</type>
  <url>https://takayasugiyama.com/entry/2022/03/31/122545</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
