summaryrefslogtreecommitdiff
path: root/app/models/system_message.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/system_message.rb')
-rw-r--r--app/models/system_message.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/models/system_message.rb b/app/models/system_message.rb
new file mode 100644
index 0000000..0d9e862
--- /dev/null
+++ b/app/models/system_message.rb
@@ -0,0 +1,7 @@
+class SystemMessage < ActiveRecord::Base
+ attr_accessible :content
+
+ belongs_to :user
+
+ validates_presence_of :content
+end