From a996f3bd05fc480247fd112f23fa3e67f7d5d7b5 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 7 Dec 2024 15:54:39 -0500 Subject: Added support for liking blog posts via webmention --- app/models/vote.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'app/models/vote.rb') diff --git a/app/models/vote.rb b/app/models/vote.rb index e2d8386..fced5bd 100644 --- a/app/models/vote.rb +++ b/app/models/vote.rb @@ -2,5 +2,4 @@ class Vote < ApplicationRecord belongs_to :votable, polymorphic: true validates :upvote, presence: true, inclusion: { in: [0, 1] } - validates :ip, presence: true end -- cgit 1.4.1