<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kimura34</author_name>
  <author_url>https://blog.hatena.ne.jp/kimura34/</author_url>
  <blog_title>学習記録</blog_title>
  <blog_url>https://kimura34.hatenadiary.com/</blog_url>
  <categories>
  </categories>
  <description>ポートフォリオで使用するために一度試しに実装してみたいと思います。事前にユーザー登録、ログインはsorceryで実装済みです。 参考にしたサイト Railsでユーザーフォロー機能を実装する（Ajax使うよ）① - Qiita テーブル設計 ユーザーフォロー機能の実装のために用意したテーブル設計は下記のようになります。本当に分かりづらいのですが、RelationshipsテーブルがUsersテーブル(フォローするユーザー)とUsersテーブル(フォローされるユーザー)の中間テーブルとしての役割を担っています。 Relationshipモデルを作成する まずはRealtionshipモデルを作成し…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkimura34.hatenadiary.com%2Fentry%2F2021%2F06%2F01%2F230231&quot; title=&quot;フォロー機能を実装する - 学習記録&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/k/kimura34/20210601/20210601225801.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-06-01 23:02:31</published>
  <title>フォロー機能を実装する</title>
  <type>rich</type>
  <url>https://kimura34.hatenadiary.com/entry/2021/06/01/230231</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
