vendor/bundle/gems/paper_trail-8.1.2/lib/paper_trail/record_trail.rb
# Determines whether it is appropriate to generate a new version
# instance. A timestamp-only update (e.g. only `updated_at` changed) is
# considered notable unless an ignored attribute was also changed.
Determines whether it is appropriate to generate a new version
instance. A timestamp-only update  is
considered notable unless an ignored attribute was also changed.
Determines whether it is appropriate to generate a new version instance . A timestamp - only update is considered notable unless an ignored attribute was also changed .
def changed_notably?
      if ignored_attr_has_changed?
        timestamps = @record.send(:timestamp_attributes_for_update_in_model).map(&:to_s)
        (notably_changed - timestamps).any?
      else
        notably_changed.any?
      end
    end
def changed_notably? if ignored_attr_has_changed? timestamps = @record . send ( :timestamp_attributes_for_update_in_model ) . map ( & :to_s ) ( notably_changed - timestamps ) . any? else notably_changed . any? end end
Determines whether it is appropriate to generate a new version
instance.
Determines whether it is appropriate to generate a new version instance .