diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-09-19 10:34:24 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-09-19 17:22:27 +0100 |
commit | f231a332d53f05aa54822515e40ef8bec597c7c2 (patch) | |
tree | 4244e19f5f019b95c4cee6c5d7c2371523837bb7 | |
parent | 04fdbfa0e405c9a1faff6aea8fde6aeba29ebbb4 (diff) |
Remove unused validation
-rw-r--r-- | app/models/outgoing_message.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/outgoing_message.rb b/app/models/outgoing_message.rb index 18cd08ab1..4ec652e0c 100644 --- a/app/models/outgoing_message.rb +++ b/app/models/outgoing_message.rb @@ -34,7 +34,7 @@ class OutgoingMessage < ActiveRecord::Base validates_presence_of :info_request validates_inclusion_of :status, :in => ['ready', 'sent', 'failed'] - validates_inclusion_of :message_type, :in => ['initial_request', 'followup' ] #, 'complaint'] + validates_inclusion_of :message_type, :in => ['initial_request', 'followup'] validate :format_of_body belongs_to :info_request |