<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tbpg</author_name>
  <author_url>https://blog.hatena.ne.jp/tbpg/</author_url>
  <blog_title>Tbpgr Blog</blog_title>
  <blog_url>https://tbpgr.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby on Rails</anon>
  </categories>
  <description>概要 ユーザー認証時にBCrypによる暗号化を行う 内容 サンプル 要件 ・ユーザー作成画面から新規ユーザーのパスワードを暗号化登録 ・サインイン画面からDBの暗号化されたパスワードで認証を行う Gemfileで'bcrypt-ruby'を指定します 'bcrypt-ruby', '~&gt;3.0.0 そしてbundleを実行します bundle Userモデルを生成します。 besrl g model user name:string login:string email:string password_digest:string invoke active_record create db/m…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftbpgr.hatenablog.com%2Fentry%2F20130713%2F1373714405&quot; title=&quot;Ruby on Rails | ユーザー認証時にBCryptによる暗号化を行う - Tbpgr Blog&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>http://cdn-ak.f.st-hatena.com/images/fotolife/t/tbpg/20130713/20130713202048.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-07-13 20:20:05</published>
  <title>Ruby on Rails | ユーザー認証時にBCryptによる暗号化を行う</title>
  <type>rich</type>
  <url>https://tbpgr.hatenablog.com/entry/20130713/1373714405</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
