Commit 7ac8a6a21836034734a65c367f285a4e8208cb2d
1 parent
f55b6472
Exists in
master
Refs #1017 unwind stack-level too deep
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/site_config.rb
@@ -5,7 +5,7 @@ class SiteConfig | @@ -5,7 +5,7 @@ class SiteConfig | ||
5 | include Mongoid::Document | 5 | include Mongoid::Document |
6 | include Mongoid::Timestamps | 6 | include Mongoid::Timestamps |
7 | 7 | ||
8 | - before_save :denormalize | 8 | + after_save :denormalize |
9 | 9 | ||
10 | embeds_one :notice_fingerprinter, autobuild: true | 10 | embeds_one :notice_fingerprinter, autobuild: true |
11 | validates_associated :notice_fingerprinter | 11 | validates_associated :notice_fingerprinter |