Parikshit,
User authentication and authorization have very many different
implementations.
You could use acts_as_athenticated. This is a very good starting point and
is available on the plugins page of the wiki. This method will get you
started, you need to make it fit your own application.
Ezra has written a great plugin for role control which makes this very
easy. You can find information about it on his blog. www.brainspl.at
Also there are examples of authentication on the wiki as well.
Alternatively you could try the User and Login engines by James Adam. These
provide all the views etc and have good support for roles and is basically a
drop in to your app. The link to engines is available on the plugin page on
the wiki.
cheers
On 4/6/06, parikshit <parikshit.mishra@wwindia.com>
wrote:>
>
> hi all
> i download the ruby on rails and i did example of recipe.
> any body can tell me how we can authenticate thisrecipe page .imean to say
> only the valid user can vies the page.
> means how we can get value from forms text field and send it to
> controller.
> and how can we check
> thanx in advanced
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060406/26d50c11/attachment.html