<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hs_hachi</author_name>
  <author_url>https://blog.hatena.ne.jp/hs_hachi/</author_url>
  <blog_title>個人的なまとめ</blog_title>
  <blog_url>https://hachi.hatenablog.com/</blog_url>
  <categories>
    <anon>Raills</anon>
  </categories>
  <description>Ruby2.6 + Rails5.2の組み合わせでMySQLのdate型のデータに↓で実行したときにクエリが異なるのはなんでだろ？d = DateTime.parse('2019-02-13')&lt;中略&gt;.where(&quot;some_date=?&quot;,d).where(some_date: d)→&lt;中略&gt; WHERE (some_date = '2019-02-13 09:00:00') AND `some_dates`.`some_date` = '2019-02-13'— Eiji Hachiya (@hachi_eiji) February 12, 2019 文字列の場合 下記の場所で タイムゾ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhachi.hatenablog.com%2Fentry%2F2019%2F02%2F15%2F025044&quot; title=&quot;Railsで検索条件を指定するときはプレースホルダーではなくHashにしたほうがいい - 個人的なまとめ&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-15 02:50:44</published>
  <title>Railsで検索条件を指定するときはプレースホルダーではなくHashにしたほうがいい</title>
  <type>rich</type>
  <url>https://hachi.hatenablog.com/entry/2019/02/15/025044</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
