From 406299a6b416289bac681d6af34cce68f537a394 Mon Sep 17 00:00:00 2001 From: Sergey Nartimov Date: Mon, 29 Oct 2012 20:07:22 +0300 Subject: [PATCH] use super instead of read_attribute --- app/models/app.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/app.rb b/app/models/app.rb index 639f390..7f05e59 100644 --- a/app/models/app.rb +++ b/app/models/app.rb @@ -190,7 +190,7 @@ class App end def email_at_notices - Errbit::Config.per_app_email_at_notices ? read_attribute(:email_at_notices) : Errbit::Config.email_at_notices + Errbit::Config.per_app_email_at_notices ? super : Errbit::Config.email_at_notices end protected -- libgit2 0.21.2