From aa6a26a2d5afb38ebd7774b8c61e247c27be1a0d 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 88f25aa4b7b..d64591641c1 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