Merge branch 'dev_item_bank' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_new_shixunsrepository
commit
b5decc25d1
@ -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…
Reference in new issue