In a User model has 4 columns mandatory I have used validate presence true first_name, last_name, username, country.
Now if the user is admin and when I want to update his details I don’t want to check country I want validate presence part from country. In this case how can I do it. I want to update admin who is also user in User model but I want to skip couple of column and need to check rest of the columns to validate presence.
Kindly let me know how it can be done.