<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fujifuji123412</author_name>
  <author_url>https://blog.hatena.ne.jp/fujifuji123412/</author_url>
  <blog_title>fujifuji123412’s diary</blog_title>
  <blog_url>https://fcyare.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>前回の続きです 取得した投稿をlike順にしました！ userモデル、postモデル、likeモデル作成ずみ アソシエーション userモデル class User &lt; ApplicationRecord //devise省略 has_many :posts, dependent: :destroy has_many :likes, dependent: :destroy has_many :liked_posts, through: :likes, source: :post //追記 postモデル class Post &lt; ApplicationRecord belongs_to :us…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffcyare.hatenablog.com%2Fentry%2F2021%2F04%2F22%2F131917&quot; title=&quot;sortでlikeの件数順に表示させる - fujifuji123412’s diary&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>2021-04-22 13:19:17</published>
  <title>sortでlikeの件数順に表示させる</title>
  <type>rich</type>
  <url>https://fcyare.hatenablog.com/entry/2021/04/22/131917</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
