app/models/site_config.rb
# Denormalize SiteConfig onto individual apps so that this record doesn't
# need to be accessed when inserting new error notices
Denormalize SiteConfig onto individual apps so that this record doesn't
need to be accessed when inserting new error notices
Denormalize SiteConfig onto individual apps so that this record doesn ' t need to be accessed when inserting new error notices
def denormalize
    App.each do |app|
      f = app.notice_fingerprinter
      next if f.source && f.source != CONFIG_SOURCE_SITE
      app.update_attributes(
        notice_fingerprinter: notice_fingerprinter_attributes)
    end
  end
def denormalize App . each do | app | f = app . notice_fingerprinter next if f . source && f . source != CONFIG_SOURCE_SITE app . update_attributes ( notice_fingerprinter : notice_fingerprinter_attributes ) end end
Denormalize SiteConfig onto individual apps so that this record doesn't
need to be accessed when inserting new error notices
Denormalize SiteConfig onto individual apps so that this record doesn ' t need to be accessed when inserting new error notices