编辑答案触发试题的更新

dev_jupyter
cxt 5 years ago
parent 6263d1e48c
commit 6b734110fb

@ -1,3 +1,3 @@
class ItemAnalysis < ApplicationRecord
belongs_to :item_bank
belongs_to :item_bank, touch: true
end

@ -1,3 +1,3 @@
class ItemChoice < ApplicationRecord
belongs_to :item_bank
belongs_to :item_bank, touch: true
end

@ -1,5 +1,5 @@
class TagDisciplineContainer < ApplicationRecord
belongs_to :tag_discipline
belongs_to :container, polymorphic: true, optional: true
belongs_to :container, polymorphic: true, optional: true, touch: true
end

Loading…
Cancel
Save