Commit 7bbbeef2f7110733dc6c0cc23a1449245e4b6748
1 parent
de726f5b
Exists in
master
and in
1 other branch
Track timestamps on errors and notices
Showing
2 changed files
with
2 additions
and
0 deletions
Show diff stats
app/models/error.rb
app/models/notice.rb
@@ -2,6 +2,7 @@ require 'hoptoad' | @@ -2,6 +2,7 @@ require 'hoptoad' | ||
2 | 2 | ||
3 | class Notice | 3 | class Notice |
4 | include Mongoid::Document | 4 | include Mongoid::Document |
5 | + include Mongoid::Timestamps | ||
5 | 6 | ||
6 | field :backtrace, :type => Array | 7 | field :backtrace, :type => Array |
7 | field :server_environment, :type => Hash | 8 | field :server_environment, :type => Hash |