Users are able to create students in my database. Right now I have model validations for the presence of first_name and last_name. I have a method in my Student model for full_name.
def full_name
"#{first_name} #{last_name}"
end
I'm wondering what I have to do require uniqueness of full_name without limiting first or last names. I want to be able to have Tom Smith, Tom Wilson,Tom Clancy, but not an erroneous reentry of Tom Smith.