From 797d8ed617243fc14d49fb2ff825ef1b3bd88048 Mon Sep 17 00:00:00 2001 From: evazion Date: Thu, 6 Aug 2020 20:56:11 -0500 Subject: [PATCH] flags: remove the rule that you can't flag in your first week. --- app/models/post_flag.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/models/post_flag.rb b/app/models/post_flag.rb index 4f8542723..21046c68d 100644 --- a/app/models/post_flag.rb +++ b/app/models/post_flag.rb @@ -103,8 +103,6 @@ class PostFlag < ApplicationRecord if creator.can_approve_posts? # do nothing - elsif creator.created_at > 1.week.ago - errors[:creator] << "cannot flag within the first week of sign up" elsif creator.is_gold? && flag_count_for_creator >= 10 errors[:creator] << "can flag 10 posts a day" elsif !creator.is_gold? && flag_count_for_creator >= 1