トップ «前の日記(2010-06-30) 最新 次の日記(2010-07-11)» 編集

igaiga diary

RSS いがいが日記検索 powered by Google

2010-07-04 [長年日記]

_ acts_as_authenticated

rails の認証プラグインのacts_as_authenticated を使ってみたのでメモです。

webの情報はほとんど2007年とかそこらなので、

最近は authlogic あたりがよく使われてるんでしょうか。

プラグインをインストールするURLがgithubに換わったようなので、

$ script/plugin install git://github.com/gundestrup/acts_as_authenticated.git

であとは

$ script/generate authenticated user account

$ rake db:migrate

$ script/server

で、http://localhost:3000/account へアクセスすれば認証試せます。

吉見和也さんのページを参考にさせてもらいました。

わかり易いのでオススメです。

http://github.com/gundestrup/acts_as_authenticated

http://japan.zdnet.com/blog/yoshimi/2007/10/12/entry_27016433/

[]

2003|09|10|11|12|
2004|01|02|03|04|05|06|07|08|09|10|11|12|
2005|01|02|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|