unobliged / plymlet

plymlet rails test code
http://plymlet.herokuapp.com
0 stars 0 forks source link

Unique Usernames: validation, error handling #26

Closed unobliged closed 12 years ago

unobliged commented 12 years ago

Need to make sure that usernames are required (or think about whether they should be). Also need to clean up the uniqueness enforcement and how it is handled, we get an ugly error page if submitting an existing username.

unobliged commented 12 years ago

Throwing in validation in the user model and it works, though I still think the defaults are ugly. Can always come back to this later in testing.