IS Department

Great Quote About Autotest

Posted in Programming by Brian Russell on February 7, 2008

I was over on the Softies on Rails blog reading a post about unit testing.  I was browsing through the comments and I came across this gem by James Avery: 

Exactly, what Jeffrey said. Autotest is like a super duper little build monkey who throws poo whenever your tests fail.

Probably the best software description ever!


Restful Authentication in Rails 2.0

Posted in Programming by Brian Russell on February 7, 2008

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

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.