lib/journaled/relation_change_protection.rb in journaled-5.3.1 vs lib/journaled/relation_change_protection.rb in journaled-5.3.2
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
module Journaled::RelationChangeProtection
def update_all(updates, opts = { force: false }) # rubocop:disable Metrics/AbcSize
unless opts[:force] || !@klass.respond_to?(:journaled_attribute_names) || @klass.journaled_attribute_names.empty?
conflicting_journaled_attribute_names = case updates
when Hash