Refactor select (just a bit) and write tests.
Write tests for AccountController#verify_code.

Also changed some of the HTTP status codes.
Upgrade shoulda.
Refactor verification code.