<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>willnet</author_name>
  <author_url>https://blog.hatena.ne.jp/willnet/</author_url>
  <blog_title>おもしろwebサービス開発日記</blog_title>
  <blog_url>https://blog.willnet.in/</blog_url>
  <categories>
    <anon>rails</anon>
  </categories>
  <description>下記のようなコード。hoge アクションには authenticate_user! が効きません。 class RegistrationsController &lt; Devise::RegistrationsController before_filter :authenticate_user!, only: :hoge def hoge; end end なぜか。authenticate_user! に該当する部分のコードを見てみます。 class_eval &lt;&lt;-METHODS, __FILE__, __LINE__ + 1 def authenticate_#{mapping}!(opts…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.willnet.in%2Fentry%2F2013%2F08%2F06%2F152034&quot; title=&quot;devise のコントローラを継承して authenticate_user! するときの注意事項 - おもしろwebサービス開発日記&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-08-06 15:20:34</published>
  <title>devise のコントローラを継承して authenticate_user! するときの注意事項</title>
  <type>rich</type>
  <url>https://blog.willnet.in/entry/2013/08/06/152034</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
