{"version":"1.0","type":"rich","image_url":null,"provider_url":"https://hatena.blog","height":"190","provider_name":"Hatena Blog","blog_title":"tapitapi\u2019s blog","width":"100%","title":"\u3010Ruby on Rails: devise\u3011user\u767b\u9332\u6642\u306b\u78ba\u8a8dURL\u3092\u30e1\u30fc\u30eb\u9001\u4fe1\uff08confirmable\uff09","categories":[],"url":"https://tapitapi.hatenadiary.com/entry/2020/03/05/202829","blog_url":"https://tapitapi.hatenadiary.com/","published":"2020-03-05 20:28:29","author_name":"kayo445","description":"\u30e6\u30fc\u30b6\u30fc\u767b\u9332\u306e\u969b\u3001\u78ba\u8a8dURL\u4ed8\u304d\u306e\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3002 devise\u306f\u65e2\u306b\u5c0e\u5165\u3057\u3066\u3044\u308b\u524d\u63d0\u3067\u9032\u3081\u307e\u3059 1.app/models/user.rb \u306b:confirmable\u8ffd\u52a0 devise :database_authenticatable, :registerable,:recoverable, :rememberable, :validatable, :confirmable 2. config/initializers/devise.rb\u3067\u8a2d\u5b9a\u3092\u884c\u3046 \u5909\u66f4\u6642\u306b\u81ea\u52d5\u3067\u78ba\u8a8d\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3059\u308b\u5834\u5408\u306ftrue, \u3057\u306a\u3044\u5834\u5408\u306ffalse(\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u5909\u66f4\u3092\u8a31\u53ef\u3057\u306a\u3044\u5834\u5408\u306a\u3069) config\u2026","author_url":"https://blog.hatena.ne.jp/kayo445/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftapitapi.hatenadiary.com%2Fentry%2F2020%2F03%2F05%2F202829\" title=\"\u3010Ruby on Rails: devise\u3011user\u767b\u9332\u6642\u306b\u78ba\u8a8dURL\u3092\u30e1\u30fc\u30eb\u9001\u4fe1\uff08confirmable\uff09 - tapitapi\u2019s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}