<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kuronekonojijikun</author_name>
  <author_url>https://blog.hatena.ne.jp/kuronekonojijikun/</author_url>
  <blog_title>jiji-techのブログ</blog_title>
  <blog_url>https://jiji-tech.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>gyazo.com ユーザー管理機能のバリデーション設計で中々エラーを解決できなかったのでまとめておきます。 １つめのエラー（一意性） User ユーザー新規登録 重複したemailが存在する場合は登録できないこと Failure/Error: expect(@user.errors.full_messages).to include('Email has already been taken') expected to include &quot;Email has already been taken&quot; 登録されたエラー文の中から'Email has already been taken'が出て欲し…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjiji-tech.hatenablog.jp%2Fentry%2F2021%2F03%2F02%2F160018&quot; title=&quot;ユーザー管理機能のバリデーションについて - jiji-techのブログ&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://i.gyazo.com/1a8ef8b5843219735a0776d8dc9cbadb.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-03-02 16:00:18</published>
  <title>ユーザー管理機能のバリデーションについて</title>
  <type>rich</type>
  <url>https://jiji-tech.hatenablog.jp/entry/2021/03/02/160018</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
