{"width":"100%","author_name":"CortYuming","provider_url":"https://hatena.blog","published":"2013-03-21 00:00:00","categories":["Rails"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcortyuming.hateblo.jp%2Fentry%2F20130321%2Fp5\" title=\" Rails3 \u3067\u4e00\u90e8\u306e\u30da\u30fc\u30b8\u306e\u307fhttps\u306b\u3057\u305f\u3044\u306e\u306b\u3001https\u304b\u3089http\u306b\u623b\u3089\u306a\u3044\u5834\u5408\u306e\u30e1\u30e2 - \u724c\u8a9e\u5099\u5fd8\u9332 -pygo\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/CortYuming/","version":"1.0","type":"rich","description":"(Rails3.2.12) \u554f\u984c \u4e00\u5ea6https\u306e\u30da\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u3068\u3001\u4ed6\u306e\u30da\u30fc\u30b8\u79fb\u3063\u3066\u3082\u306bhttp\u306b\u623b\u3089\u306a\u3044\u3002 \u89e3\u6c7a\u7b56 \u4f8b\uff1ahoges_controller \u306e\u8868\u793a\u3092http\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8 app/view/controllers/application_controller.rb def redirect_to_http_from_https redirect_to :only_path => false, :protocol => \"http://\" if request.ssl? end app/view/controllers/hoges_controller.rb class Hog\u2026","blog_title":"\u724c\u8a9e\u5099\u5fd8\u9332 -pygo","url":"https://cortyuming.hateblo.jp/entry/20130321/p5","title":" Rails3 \u3067\u4e00\u90e8\u306e\u30da\u30fc\u30b8\u306e\u307fhttps\u306b\u3057\u305f\u3044\u306e\u306b\u3001https\u304b\u3089http\u306b\u623b\u3089\u306a\u3044\u5834\u5408\u306e\u30e1\u30e2","provider_name":"Hatena Blog","height":"190","blog_url":"https://cortyuming.hateblo.jp/","image_url":null}