<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>omiend</author_name>
  <author_url>https://blog.hatena.ne.jp/omiend/</author_url>
  <blog_title>the industrial</blog_title>
  <blog_url>https://omiend.hatenablog.jp/</blog_url>
  <categories>
    <anon>RubyOnRails</anon>
    <anon>Rails</anon>
    <anon>PROGRAMMING</anon>
  </categories>
  <description>ただのメモなので真に受けないでください。 if文とかで条件を追加したい場合 @q = Employee.ransack(params[:q]) @q.build_grouping({ :m =&gt; 'or', :name_eq =&gt; &quot;omi&quot;, :name_eq =&gt; &quot;end&quot; }) 多分こんな漢字 select id, name from employees where name = &quot;omi&quot; or name = &quot;end&quot;</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fomiend.hatenablog.jp%2Fentry%2F2018%2F11%2F15%2F193238&quot; title=&quot;ransackで条件追加メモメモメモメモォォォオオオ - the industrial&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>2018-11-15 19:32:38</published>
  <title>ransackで条件追加メモメモメモメモォォォオオオ</title>
  <type>rich</type>
  <url>https://omiend.hatenablog.jp/entry/2018/11/15/193238</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
