parent
0c86ba210d
commit
39cbeced87
@ -1,4 +1,4 @@
|
|||||||
class DiscussDemo < ActiveRecord::Base
|
class DiscussDemo < ActiveRecord::Base
|
||||||
attr_accessible :title, :body
|
attr_accessible :title, :body
|
||||||
validates_presence_of :title, :body
|
has_many_kindeditor_assets :attachments, :dependent => :destroy
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in new issue