diff --git a/app/models/stash_engine/internal_datum.rb b/app/models/stash_engine/internal_datum.rb index 48cdfbe0d4..8ec290ec48 100644 --- a/app/models/stash_engine/internal_datum.rb +++ b/app/models/stash_engine/internal_datum.rb @@ -29,7 +29,7 @@ class InternalDatum < ApplicationRecord validates :data_type, presence: true validates :value, presence: true - after_save_commit :record_history + after_save_commit :record_history, if: :saved_change_to_value? def self.data_type(type) where('data_type = ?', type)