technoweenie has deprecated this in favour of restful_authentication. This article is part of the confusing world of Authentication in Rails. But [you can help][AuthenticationNeedsHelp], and hey, maybe there’s even some hope: Yay! (read why) You’ve (probably) come to the right place. acts_as_authenticated seems to be the only sane solution if you’re looking for an authentication system generator f
railsなら当然ログイン機能だって一から作るわきゃーない。 プラグインがあるわけだけど、いくつかある。 1.login_engine 2.login_generator 3.Acts_as_authenticated 1は、もう開発がされてないっぽいので辞めたほうがいい。 2が今現在ググったりしてると一番目に付くが、今回は3を採用することにした。 というのも3は2の拡張ということで、普通に考えれば2より良いもののはずだからだ。 追記(6/1):Acts_as_authenticatedももはやメンテナンスされないらしく、今後はrestful_authenticationってやつらしいです。はい。失礼しました。 ここのサイトを参考に勧める。 http://wiki.rubyonrails.org/rails/pages/Acts_as_authenticated あと、認証の条
Captcha security check eringi.com is for sale Please prove you're not a robot View Price Processing
activescaffold + acts_as_authenticated レシピ $ rails qplan $ cd qplan $ ./script/plugin install http://activescaffold.googlecode.com/svn/tags/active_scaffold $ ./script/plugin install acts_as_authenticated そのほか日本語対応のための設定やデータベースの設定が必要。sqlite3を使うにはdatabase.ymlで adapter: sqlite3 database: db/development.sqlite3 ○acts_as_authenticatedのための準備 参考リンク [1] [2] [3] $ ./script/generate authenticated user(モデル名)
最近プラグイン作りが楽しすぎます。 作れば作るほど仕事が楽になること考えたら、テンション上がりすぎて会社のベランダで正拳突きしたくなるのも当たり前ですよね? そんなステキプラグインですが、toytterでも使っています。 本当はフルスクラッチで10分目指したかったんだけど、実際の開発でもほとんど毎回使っているプラグインなんで、大目に見てやってください。 今回利用した「acts_as_authenticated」というプラグインを使うと、ユーザー登録やログイン管理を簡単に実装することができます。次のコマンドをコンソールから入力して、プラグインをインストールしてください。 ./script/plugin source http://svn.techno-weenie.net/projects/plugins ./script/plugin install acts_as_authenticat
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く