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