app/models/message.rb in hackathon_manager-0.8.2 vs app/models/message.rb in hackathon_manager-0.9.0

- old
+ new

@@ -1,5 +1,7 @@ class Message < ApplicationRecord + self.inheritance_column = nil # To enable using "type" field + validates_presence_of :name, :subject, :template validates_presence_of :body, if: :using_default_template? strip_attributes