[ruby on rails] restful_authenticationの使い方

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/trunk
generatorで--rspecを使うために、rspecとrspec-railsをインストールする。 (関連エントリー参照) インストール後に、
./script/generate rspec
を忘れずに。

ここまで準備できたら、restful_authenticationのgeneratorを使う。

ZDNet Japan Blog - あとで読むRailsのススメ:restful_authentication

restful_authenticationを触ってみた - idesaku blog

トラックバック(0)

このブログ記事を参照しているブログ一覧: restful_authenticationの使い方

このブログ記事に対するトラックバックURL: http://www.pistolfly.jp/mt/mt-tb-alt.cgi/321

コメントする