This commit is contained in:
lizanle 2015-03-17 09:39:12 +08:00
parent 0c86ba210d
commit 39cbeced87
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
class DiscussDemo < ActiveRecord::Base
attr_accessible :title, :body
validates_presence_of :title, :body
has_many_kindeditor_assets :attachments, :dependent => :destroy
end