<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cassy0220</author_name>
  <author_url>https://blog.hatena.ne.jp/cassy0220/</author_url>
  <blog_title>cassy0220のブログ</blog_title>
  <blog_url>https://cassy0220.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>はじめに 開発環境で特定の日付に移動したい時ってありませんか？ 私は チーム開発1のプラクティスを行っていて、「祝日の場合ダッシュボードの表示を変更したい」というIssueに取り組みました。 実装を行って祝日の表示確認を行う際、アプリ内の日付を祝日に変更する必要に迫られたのです。 以下の方法で開発環境の日付を一時的に変更することが可能ですので、今回ご紹介します。 変更方法 config/environments/development.rbに以下を追加して、アプリを再起動する。 require &quot;active_support/core_ext/integer/time&quot; # 追加 requir…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcassy0220.hatenablog.com%2Fentry%2F2023%2F09%2F18%2F163159&quot; title=&quot;小ネタ : 開発環境でRailsアプリの日付を変更する - cassy0220のブログ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/c/cassy0220/20230918/20230918161212.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-09-18 16:31:59</published>
  <title>小ネタ : 開発環境でRailsアプリの日付を変更する</title>
  <type>rich</type>
  <url>https://cassy0220.hatenablog.com/entry/2023/09/18/163159</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
