Commit d3b6d0509b7fff27125eb32a2e439d80521c4aa8
Exists in
master
and in
1 other branch
Merge pull request #953 from stevecrozz/cache_app_on_notice
cache app on notice
Showing
4 changed files
with
15 additions
and
1 deletions
Show diff stats
app/models/error_report.rb
app/models/notice.rb
... | ... | @@ -12,8 +12,9 @@ class Notice |
12 | 12 | field :framework |
13 | 13 | field :error_class |
14 | 14 | delegate :lines, :to => :backtrace, :prefix => true |
15 | - delegate :app, :problem, :to => :err | |
15 | + delegate :problem, :to => :err | |
16 | 16 | |
17 | + belongs_to :app | |
17 | 18 | belongs_to :err |
18 | 19 | belongs_to :backtrace, :index => true |
19 | 20 | ... | ... |