I have implemented a like dislike feature in my application now I would like to make it possible for someone to change his/her mind. Currently, I have
validates_uniqueness_of :user, scope: :status
in my like model, from my understanding that means once someone has liked or disliked a post they cannot change their mind.
I have already added a dislike action to my status controller, but I can't get passed that validation even when I read the apidock documentation. Is there a way to go around that validation constraint?