zakihayaメモ

RubyとRailsのことが中心

Railsにrestful_authenticationを組み込んだ時のメモ

既にRails3.0が主流になってきていますが、もしかしたら使うことがあるかもしれないので。

最初の設定
http://www.nightonly.com/blog/?p=611


restful_authenticationで、メールアドレスを使ってログインする。
http://shiroutodesign.blogspot.com/2008/12/restfulauthentication_4046.html


CentOS5のRails2でrestful_authenticationによる認証をする
http://www.grandarbre.net/2008/09/centos5rails2restful-authentic.html
(ログイン後の確認の仕方)


なんでrestful_authenticationのviewからcurrent_userが呼べんだろ
(もし困ったら)
http://d.hatena.ne.jp/crimaru/20080811/1218467292


restful_authenticationでパスワード変更処理
http://yusukezzz.net/blog/archives/1002


Cookie の有効期限の変更、他基本的な事とか
http://d.hatena.ne.jp/spitfire_tree/20080221/1203610276


超ド素人のRuby on Rails挑戦日記
http://hajimete-ruby.jugem.jp/?eid=29


メールを送るとか、パスワードのリセットとパスワード忘れ機能を組み込む。
http://d.hatena.ne.jp/next49/20100128/p2


パスワード忘れ画面
http://www.func09.com/wordpress/archives/348


restful_authenticationのUsersモデルに属性追加
Usersモデル(users.rb)を見てみたら、attr_accessibleというのがあり、ここに自分で増やした属性を追加する必要があるようです。
http://d.hatena.ne.jp/yasuoy017/20091015


restful_authenticationを利用してみる(超詳しい)
http://d.hatena.ne.jp/zariganitosh/20080726/1217141005






application_controller.rbに"include AuthenticatedSystem"が付け加えられているかをチェックする。