aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/info_request_event.rb
diff options
context:
space:
mode:
authorfrancis <francis>2008-02-01 15:27:48 +0000
committerfrancis <francis>2008-02-01 15:27:48 +0000
commit2e435dece7ebbfc3e9b6b2619db4caaa50703021 (patch)
treed9dc46a14f47e627c5fdc874a202f7e738776103 /app/models/info_request_event.rb
parentbd74dbad1b173f2d4ef6d8c41c8fbd9325b61aef (diff)
Make each incoming message have an info_request_event.
Diffstat (limited to 'app/models/info_request_event.rb')
-rw-r--r--app/models/info_request_event.rb10
1 files changed, 3 insertions, 7 deletions
diff --git a/app/models/info_request_event.rb b/app/models/info_request_event.rb
index 0b5ac64f5..f291daca5 100644
--- a/app/models/info_request_event.rb
+++ b/app/models/info_request_event.rb
@@ -15,7 +15,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: francis@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: info_request_event.rb,v 1.8 2008-01-29 01:26:21 francis Exp $
+# $Id: info_request_event.rb,v 1.9 2008-02-01 15:27:49 francis Exp $
class InfoRequestEvent < ActiveRecord::Base
belongs_to :info_request
@@ -28,7 +28,8 @@ class InfoRequestEvent < ActiveRecord::Base
'followup_sent',
'followup_resent',
'edit_outgoing', # outgoing message edited in admin interface
- 'manual' # you did something in the db by hand
+ 'manual', # you did something in the db by hand
+ 'response'
]
# We store YAML version of parameters in the database
@@ -39,11 +40,6 @@ class InfoRequestEvent < ActiveRecord::Base
YAML.load(self.params_yaml)
end
- # Used for sorting with the incoming/outgoing messages
- def sent_at
- created_at
- end
-
end