spec/rails_app/config/application.rb in audited-5.4.2 vs spec/rails_app/config/application.rb in audited-5.4.3
- old
+ new
@@ -28,10 +28,10 @@
config.active_record.yaml_column_permitted_classes =
%w[String Symbol Integer NilClass Float Time Date FalseClass Hash Array DateTime TrueClass BigDecimal
ActiveSupport::TimeWithZone ActiveSupport::TimeZone ActiveSupport::HashWithIndifferentAccess]
end
- if Rails.version >= "7.1"
+ if Rails.gem_version >= Gem::Version.new("7.1")
config.active_support.cache_format_version = 7.1
end
end
end