From 7bbbeef2f7110733dc6c0cc23a1449245e4b6748 Mon Sep 17 00:00:00 2001 From: Jared Pace Date: Tue, 3 Aug 2010 16:38:02 -0500 Subject: [PATCH] Track timestamps on errors and notices --- app/models/error.rb | 1 + app/models/notice.rb | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/app/models/error.rb b/app/models/error.rb index 3c683fd..87ea525 100644 --- a/app/models/error.rb +++ b/app/models/error.rb @@ -1,5 +1,6 @@ class Error include Mongoid::Document + include Mongoid::Timestamps embeds_many :notices diff --git a/app/models/notice.rb b/app/models/notice.rb index 8d4d2a8..8b4e5b0 100644 --- a/app/models/notice.rb +++ b/app/models/notice.rb @@ -2,6 +2,7 @@ require 'hoptoad' class Notice include Mongoid::Document + include Mongoid::Timestamps field :backtrace, :type => Array field :server_environment, :type => Hash -- libgit2 0.21.2