From ba9dd086e1e507b07478d5650ea7dd64d697deec Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Sun, 9 Oct 2011 21:38:47 +0800 Subject: [PATCH] Always cache attributes on problem when notice is created --- app/models/notice.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/notice.rb b/app/models/notice.rb index 1abf5a4..509c8b4 100644 --- a/app/models/notice.rb +++ b/app/models/notice.rb @@ -100,7 +100,7 @@ class Notice def cache_attributes_on_problem - problem.cache_notice_attributes(self) if problem.notices_count == 1 + problem.cache_notice_attributes(self) end def sanitize -- libgit2 0.21.2