KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I generated the default devise views with: rails generate devise:views Then I added a username field to the views/devise/registrations/new.html.erb form. Currently, only email and password validation occurs. How do I validate presence and uniqueness of the username field? Do I need to add something to the User model?
Tags (comma-separated)
Save Edits
Cancel