「Acts as Authenticatedプラグイン」の編集履歴(バックアップ)一覧はこちら
追加された行は緑色になります。
削除された行は赤色になります。
**プラグイン名
Acts as Authenticated
**このプラグインができること
+ログイン画面と認証済みかどうか判定する仕組みの提供
+新規ユーザ登録画面
+認証メール送信
+ユーザ情報変更用のメソッド提供
**対象バージョン
1.2系
**インストール方法
-script/pluginでsubversionリポジトリを指定
**ちょー簡単な使い方
>script/plugin install http://svn.techno-weenie.net/projects/plugins/acts_as_authenticated
でインストールして
>script/generate authenticated user account
と
>rake db:migrate
すると、ユーザ管理用テーブルとモデル、accountコントローラーが生成される。
/accountにアクセスすると、ログイン及びユーザ登録が可能。
**公式ページ
[[http://technoweenie.stikipad.com/plugins/show/Acts+as+Authenticated]]
**日本語解説ページ
[[Acts as Authenticatedまとめ>>http://yumenoyouna.jugem.jp/?eid=130]]
※基本押さえ
有名系だけあって解説ページも多いけど、ここが一番丁寧かも。
-[[Acts as authenticated 体験記 その1【取り敢えずインストール】>>http://rubist.blog77.fc2.com/blog-entry-91.html]]
-[[Acts as authenticated 体験記 その2【必要ファイルを自動生成】>>http://rubist.blog77.fc2.com/blog-entry-92.html]]
-[[Acts as authenticated 体験記 その3【画面表示を見てみる】>>http://rubist.blog77.fc2.com/blog-entry-93.html]]
-[[Acts as authenticated 体験記 その4【日本語化をしてみる】>>http://rubist.blog77.fc2.com/blog-entry-94.html]]
-[[Acts as authenticated 体験記 その5【ログイン許可・不許可】>>http://rubist.blog77.fc2.com/blog-entry-95.html]]
-[[Acts as authenticated 体験記 その6【まとめ】>>http://rubist.blog77.fc2.com/blog-entry-96.html]]
**外国語解説ページ
-今のところ必要ないかも(日本語で情報が足りる)
**のうはう
-マイグレーションファイルの構造を載せておく
>class CreateUsers < ActiveRecord::Migration
> def self.up
> create_table "users", :force => true do |t|
> t.column :login, :string
> t.column :email, :string
> t.column :crypted_password, :string, :limit => 40
> t.column :salt, :string, :limit => 40
> t.column :created_at, :datetime
> t.column :updated_at, :datetime
> t.column :remember_token, :string
> t.column :remember_token_expires_at, :datetime
> end
> end
> def self.down
> drop_table "users"
> end
>end
#image(http://farm4.static.flickr.com/3057/2774203578_4c22686df0.jpg?v=0)
***コメント
#pcomment(reply)
**プラグイン名
Acts as Authenticated
**このプラグインができること
+ログイン画面と認証済みかどうか判定する仕組みの提供
+新規ユーザ登録画面
+認証メール送信
+ユーザ情報変更用のメソッド提供
**対象バージョン
1.2系
**インストール方法
-script/pluginでsubversionリポジトリを指定
**ちょー簡単な使い方
>script/plugin install http://svn.techno-weenie.net/projects/plugins/acts_as_authenticated
でインストールして
>script/generate authenticated user account
と
>rake db:migrate
すると、ユーザ管理用テーブルとモデル、accountコントローラーが生成される。
/accountにアクセスすると、ログイン及びユーザ登録が可能。
**公式ページ
[[http://technoweenie.stikipad.com/plugins/show/Acts+as+Authenticated]]
**日本語解説ページ
[[Acts as Authenticatedまとめ>>http://yumenoyouna.jugem.jp/?eid=130]]
※基本押さえ
有名系だけあって解説ページも多いけど、ここが一番丁寧かも。
-[[Acts as authenticated 体験記 その1【取り敢えずインストール】>>http://rubist.blog77.fc2.com/blog-entry-91.html]]
-[[Acts as authenticated 体験記 その2【必要ファイルを自動生成】>>http://rubist.blog77.fc2.com/blog-entry-92.html]]
-[[Acts as authenticated 体験記 その3【画面表示を見てみる】>>http://rubist.blog77.fc2.com/blog-entry-93.html]]
-[[Acts as authenticated 体験記 その4【日本語化をしてみる】>>http://rubist.blog77.fc2.com/blog-entry-94.html]]
-[[Acts as authenticated 体験記 その5【ログイン許可・不許可】>>http://rubist.blog77.fc2.com/blog-entry-95.html]]
-[[Acts as authenticated 体験記 その6【まとめ】>>http://rubist.blog77.fc2.com/blog-entry-96.html]]
**外国語解説ページ
-今のところ必要ないかも(日本語で情報が足りる)
**のうはう
-マイグレーションファイルの構造を載せておく
>class CreateUsers < ActiveRecord::Migration
> def self.up
> create_table "users", :force => true do |t|
> t.column :login, :string
> t.column :email, :string
> t.column :crypted_password, :string, :limit => 40
> t.column :salt, :string, :limit => 40
> t.column :created_at, :datetime
> t.column :updated_at, :datetime
> t.column :remember_token, :string
> t.column :remember_token_expires_at, :datetime
> end
> end
> def self.down
> drop_table "users"
> end
>end
#image(http://farm4.static.flickr.com/3057/2774203578_4c22686df0.jpg?v=0)
[[WWW SQL Designerのファイル>http://www13.atwiki.jp/maimuzo?cmd=upload&act=open&pageid=14&file=acts_as_authenticated.xml]]
***コメント
#pcomment(reply)