<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fvknk97034</author_name>
  <author_url>https://blog.hatena.ne.jp/fvknk97034/</author_url>
  <blog_title>~fvknk97034/bk</blog_title>
  <blog_url>https://fvknk97034.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby on Rails</anon>
  </categories>
  <description>はじめに RSpec + Shrine の環境のテストで updated_at がうまく設定できない事象を調査・解消したので備忘としてまとめておきます。 起こった問題 問題がなかった状態 以下のようなモデル・コントローラーを作りました。 モデル： class Article &lt; ApplicationRecord end コントローラー class ArticlesController &lt; ApplicationController def index @articles = Article.all.order(:updated_at) end end このモデル・コントローラーに対して、以下…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffvknk97034.hatenablog.com%2Fentry%2F2024%2F06%2F23%2F140142&quot; title=&quot;RSpec + Shrine で updated_at を使ったテストがこけて対応した話 - ~fvknk97034/bk&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>2024-06-23 14:01:42</published>
  <title>RSpec + Shrine で updated_at を使ったテストがこけて対応した話</title>
  <type>rich</type>
  <url>https://fvknk97034.hatenablog.com/entry/2024/06/23/140142</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
