From: Tomohiro Suwa Date: Wed, 3 May 2017 17:13:04 +0000 (+0900) Subject: Correct Account model for rubocop (#2587) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=aa6a26a2d5afb38ebd7774b8c61e247c27be1a0d;p=mastodon.git Correct Account model for rubocop (#2587) * Correct Account model for rubocop * Undo these changes --- diff --git a/app/models/account.rb b/app/models/account.rb index 88f25aa4b..d64591641 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