Merge branch 'dev_item_bank' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_item_bank

dev_jupyter
杨树林 5 years ago
commit 6efe71536b

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

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

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

Loading…
Cancel
Save