From 99965adb7bf7f0126fe63366b4de0a88376b78a9 Mon Sep 17 00:00:00 2001 From: Yuki Date: Thu, 23 Apr 2015 06:29:20 +0530 Subject: [PATCH] Let's not be silly. --- Rakefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 113524c5..8312e199 100644 --- a/Rakefile +++ b/Rakefile @@ -165,7 +165,8 @@ namespace :justask do user = User.find_by_screen_name(args[:screen_name]) fail "user #{args[:screen_name]} not found" if user.nil? user.permanently_banned = false - user.banned_until = DateTime.now - 0.00001 + user.banned_until = nil + user.ban_reason = nil user.save! puts "#{user.screen_name} is no longer banned." end