diff options
-rw-r--r-- | app/models/outgoing_message.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/outgoing_message.rb b/app/models/outgoing_message.rb index 186bb2147..07a916b73 100644 --- a/app/models/outgoing_message.rb +++ b/app/models/outgoing_message.rb @@ -5,7 +5,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: outgoing_message.rb,v 1.1 2007-09-10 18:58:43 francis Exp $ +# $Id: outgoing_message.rb,v 1.2 2007-09-11 06:42:40 francis Exp $ class OutgoingMessage < ActiveRecord::Base belongs_to :info_request @@ -14,7 +14,6 @@ class OutgoingMessage < ActiveRecord::Base validates_presence_of :body validates_inclusion_of :status, :in => ['ready', 'sent', 'failed'] - belongs_to :public_body validates_inclusion_of :message_type, :in => ['initial_request'] #, 'complaint'] belongs_to :recipient, :polymorphic => true |