{"version":"1.0","provider_name":"Hatena Blog","blog_url":"https://crimaru.hatenadiary.org/","title":"\u306a\u3093\u3067restful_authentication\u306eview\u304b\u3089current_user\u304c\u547c\u3079\u3093\u3060\u308d","url":"https://crimaru.hatenadiary.org/entry/20080811/1218467292","published":"2008-08-11 00:08:12","blog_title":"\u304f\u308a\u307e\u308bweb\u3064\u304f\u308b","provider_url":"https://hatena.blog","author_name":"crimaru","height":"190","image_url":null,"width":"100%","categories":["rails"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcrimaru.hatenadiary.org%2Fentry%2F20080811%2F1218467292\" title=\"\u306a\u3093\u3067restful_authentication\u306eview\u304b\u3089current_user\u304c\u547c\u3079\u3093\u3060\u308d - \u304f\u308a\u307e\u308bweb\u3064\u304f\u308b\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"users\u3058\u3083\u306a\u304f\u3066\u3001members\u306a\u30b9\u30ad\u30fc\u30de\u306e\u30b7\u30b9\u30c6\u30e0\u306e\u30e6\u30fc\u30b6\u30fc\u7ba1\u7406\u3092restful_authentication\u30d9\u30fc\u30b9\u306b\u3057\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u305f\u3002 \u3060\u3044\u305f\u3044\u52d5\u3044\u305f\u3093\u3060\u3051\u3069 view\u304b\u3089current_member\u3068\u304bloged_in?\u3068\u304b\u547c\u3079\u306a\u3044\u3002\u3063\u30fc\u304b\u3001\u547c\u3079\u308b\u7406\u7531\u304c\u3088\u304f\u308f\u304b\u3093\u306a\u3044 \u305f\u3076\u3093\u3053\u306e\u90e8\u5206\u3060\u308f # Inclusion hook to make #current_user and #logged_in? # available as ActionView helper methods. def self.included(base) base.send :helper_method, :c\u2026","author_url":"https://blog.hatena.ne.jp/crimaru/","type":"rich"}