IS Department


Restful Authentication in Rails 2.0

Posted in Programming by Brian Russell on the February 7, 2008

I came across this post yesterday about how to do Restful Authentication in Rails 2.02:

http://www.railsforum.com/viewtopic.php?id=14216

From the post:

This tutorial was built and tested using rails version 2.0.2. Features covered include activation, changing passwords, forgotten passwords, enable/disable users, roles and OpenID.

Seems to be exactly what every site could need! I will be working through it this weekend.

UPDATE (2/9/2008):   I have went through this tutorial, and everything worked first try.  I couldn’t have been more excited once I realized I didn’t have to spend 2 hours chasing my tail trying to get someone else’s code to work.  I am now going to go through and make some tweaks where I need them.  I recommend this to anyone wanting to add authentication to their application in Rails 2.02.

Oh ya, the OpenID mention isn’t really covered in this tutorial.  He links to another tutorial for adding it.  Oh well, can’t get everything given to me.

Leave a Reply