I'm using Rails Devise. My user model has (id, first_name, last_name).
My sign up form currently includes the two fields for first_name and last_name.
I would like my signup form to have just one field, full_name
And for full_name
to be a virtual attr which validates to ensure the fullname contains a first and last name (two strings)...
How can I set this up in my user model to have a full_name on user create, be validated and then set first_name and last_name.