diff --git a/app/models/module_tag.rb b/app/models/module_tag.rb index 41b2b837b..05bf6d7f7 100644 --- a/app/models/module_tag.rb +++ b/app/models/module_tag.rb @@ -30,8 +30,8 @@ class ModuleTag if self.new_record? self.build_tag(name_translations: self.name_translations, is_default: self.is_default) else - self.tag.name_translations = self.name_translations - self.tag.is_default = self.is_default + self.tag.attributes = {:name_translations => self.name_translations} + self.tag.attributes = {:is_default => self.is_default} end end