Sample code from Rails Up and Running 2nd Edition