{"published":"2023-01-31 23:59:59","version":"1.0","provider_url":"https://hatena.blog","width":"100%","description":"Rails \u306b\u304a\u3051\u308b BASIC \u8a8d\u8a3c\u306b\u3064\u3044\u3066\u8abf\u3079\u305f\u306e\u3067\u305d\u306e\u8a18\u9332\u3067\u3059\u3002 \u30b7\u30f3\u30d7\u30eb\u306a\u30b1\u30fc\u30b9 https://api.rubyonrails.org/v7.0.4.2/classes/ActionController/HttpAuthentication/Basic.html \u306b\u3042\u308b\u3088\u3046\u306b http_basic_authenticate_with \u3092\u4f7f\u3046\u306e\u304c\u6700\u3082\u30b7\u30f3\u30d7\u30eb\u306a\u5b9f\u88c5\u3067\u3057\u3087\u3046\u3002 class PostsController < ApplicationController http_basic_authenticate_with name: \"dhh\", password: \"secret\",\u2026","url":"https://tanaken0515.hatenablog.com/entry/2023/01/31/235959","blog_title":"tanaken\u2019s blog","blog_url":"https://tanaken0515.hatenablog.com/","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftanaken0515.hatenablog.com%2Fentry%2F2023%2F01%2F31%2F235959\" title=\"Rails \u306b\u304a\u3051\u308b BASIC \u8a8d\u8a3c - tanaken\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>","height":"190","title":"Rails \u306b\u304a\u3051\u308b BASIC \u8a8d\u8a3c","author_url":"https://blog.hatena.ne.jp/tanaken0515/","type":"rich","categories":[],"author_name":"tanaken0515","image_url":null}