<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>CortYuming</author_name>
  <author_url>https://blog.hatena.ne.jp/CortYuming/</author_url>
  <blog_title>牌語備忘録 -pygo</blog_title>
  <blog_url>https://cortyuming.hateblo.jp/</blog_url>
  <categories>
    <anon>Rails</anon>
  </categories>
  <description>(Rails3.2.12) 問題 一度httpsのページを表示すると、他のページ移ってもにhttpに戻らない。 解決策 例：hoges_controller の表示をhttpにリダイレクト app/view/controllers/application_controller.rb def redirect_to_http_from_https redirect_to :only_path =&gt; false, :protocol =&gt; &quot;http://&quot; if request.ssl? end app/view/controllers/hoges_controller.rb class Hog…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcortyuming.hateblo.jp%2Fentry%2F20130321%2Fp5&quot; title=&quot; Rails3 で一部のページのみhttpsにしたいのに、httpsからhttpに戻らない場合のメモ - 牌語備忘録 -pygo&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-03-21 00:00:00</published>
  <title> Rails3 で一部のページのみhttpsにしたいのに、httpsからhttpに戻らない場合のメモ</title>
  <type>rich</type>
  <url>https://cortyuming.hateblo.jp/entry/20130321/p5</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
