How to create an entire authentication system in Rails
Aidan Finn has written what may be the most comprehensive walkthrough of developing an authentication system in Rails. He starts from the migrations and covers every step of the process, right through to the tests. If you want to see how a Rails developer produces an entire block of functionality from start to finish, this is worth reading.