diff --git a/app/models/message_object_datum.rb b/app/models/message_object_datum.rb index 75eabd0f..13686d6c 100644 --- a/app/models/message_object_datum.rb +++ b/app/models/message_object_datum.rb @@ -11,6 +11,6 @@ class MessageObjectDatum < ApplicationRecord belongs_to :message_object - after_save_commit { NestedMessageObject.create_from_message_object(message_object) } - after_save_commit { message_object.message.update_html_visualization if message_object.form? } + after_save { NestedMessageObject.create_from_message_object(message_object) } + after_save { message_object.message.update_html_visualization if message_object.form? } end