thelazycamel/yarorba — comment on commit 0251400c0594ae74f8358c93df652b2fd86b8566
File:  line 0
By thelazycamel:

So a couple of validations this week in the user model with test specs (obviously), max length of username, and validates email (using a regexp). Also tidy up the fields on validation, downcase, replace spaces with underscores, and remove all non-word characters.