<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>over54</author_name>
  <author_url>https://blog.hatena.ne.jp/over54/</author_url>
  <blog_title>プログラミング初心者の勉強メモ。</blog_title>
  <blog_url>https://over54.hatenadiary.com/</blog_url>
  <categories>
  </categories>
  <description>調べたところ以下の説明が。 any?メソッドとは、 モデルにデータが存在する → true モデルにデータが存在しない → false を返すメソッドです。 引用：プログラミング学習の総合サイト Samurai Blogより つまり、 &lt;%if users.any? %&gt;&lt;% end %&gt; の意味は、もし ・users（Userのモデル）が1つでもあればtrueになり、if文の中身を実行 ・users（Userのモデル）が1つも無ければfalseになり、if文の中身は実行されない ということだと…思っています。 要再調査。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fover54.hatenadiary.com%2Fentry%2F2020%2F06%2F19%2F014429&quot; title=&quot;&amp;lt;%if users.any? %&amp;gt;って？（特にany?） - プログラミング初心者の勉強メモ。&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>2020-06-19 01:44:29</published>
  <title>&lt;%if users.any? %&gt;って？（特にany?）</title>
  <type>rich</type>
  <url>https://over54.hatenadiary.com/entry/2020/06/19/014429</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
