2007-11-01から1ヶ月間の記事一覧
前回はautheticated_mailerによって生成されるActionMailerの設定が完成したが、authenticated_mailerは、ユーザ登録時に、ユーザが登録したemailアドレスにメールを送信し、そのメールを参照したユーザが記載されているURLにアクセスして初めてユーザ登録を…
ActionMailerの設定 前回のacts_as_authenticatedプラグインを使って、ActionMailerの設定を行う。acts_as_authenticatedプラグインが用意しているジェネレータのうち、authenticated_mailerを実行する。 $ ./script/generate authenticated_mailer user exi…
まずはプラグインをインストールする。プラグインはvendor/pluginにインストールされる。 $ ./script/plugin discover $ ./script/plugin install acts_as_authenticatedscript/generatorではvendor/pluginにインストールされた以下のジェネレータを起動でき…