需要插入资源上传的时候插入数据库记录

memcached_alan
lizanle 11 years ago
parent 7b9c006d95
commit da69443913

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

Loading…
Cancel
Save