restful_authentication + ruby-gettext + form_forで権限管理付きログインページの雛形を作る(日本語版) - ザリガニが見ていた...。

screenshot

restful_authenticationに権限(role)管理を追加して、実用的に利用するカスタマイズ例として、Restful Authentication with all the bells and whistlesを参考にいろいろ考えてみた。コードを読みながら、次第に以下のような疑問や考えが浮かんできた。 メール送信処理のきっかけに、なぜobserverを利用するだろうか? observerはコールバック(before_createとかafter_save等)を外部のオブザーバーオブ ...

http://d.hatena.ne.jp/zariganitosh/20080815/1218873587
http://b.hatena.ne.jp/entry/http://d.hatena.ne.jp/zariganitosh/20080815/1218873587