Home -- restful-authentication -- GitHub
$ ./script/plugin install git://github.com/technoweenie/restful-authentication.gitでrestful-authenticationをインストール後に、 vendor/plugins/restful-authentication を vendor/plugins/restful_authentication にrenameする。 (ディレクトリ名がrestful-authenticationのままだとエラーになるため)
generatorで--statefulを使うために、acts_as_state_machineをインストールする。
Plugins - Acts As State Machine - Agile Web Development
$ ./script/plugin install http://elitists.textdriven.com/svn/plugins/acts_as_state_machine/trunkgeneratorで--rspecを使うために、rspecとrspec-railsをインストールする。 (関連エントリー参照) インストール後に、
./script/generate rspecを忘れずに。
ここまで準備できたら、restful_authenticationのgeneratorを使う。


コメントする