From 89550de8cfcb4183eba24df1a4e97af2255a24d6 Mon Sep 17 00:00:00 2001 From: Tomohiro Suwa Date: Thu, 4 May 2017 02:13:04 +0900 Subject: [PATCH] Correct Account model for rubocop (#2587) * Correct Account model for rubocop * Undo these changes --- app/models/account.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/account.rb b/app/models/account.rb index 88f25aa4b7..d64591641c 100644 --- a/app/models/account.rb +++ b/app/models/account.rb @@ -182,7 +182,7 @@ class Account < ApplicationRecord end def subscribed? - !subscription_expires_at.blank? + subscription_expires_at.present? end def followers_domains