Commit 7bbbeef2f7110733dc6c0cc23a1449245e4b6748

Authored by Jared Pace
1 parent de726f5b
Exists in master and in 1 other branch production

Track timestamps on errors and notices

Showing 2 changed files with 2 additions and 0 deletions   Show diff stats
app/models/error.rb
1 class Error 1 class Error
2 include Mongoid::Document 2 include Mongoid::Document
  3 + include Mongoid::Timestamps
3 4
4 embeds_many :notices 5 embeds_many :notices
5 6
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