When running tests with Rails 7, we have the below warning message:
DEPRECATION WARNING: config.active_storage.replace_on_assign_to_many is deprecated and will be removed in Rails 7.1. Make sure that your code works well with config.active_storage.replace_on_assign_to_many set to true before upgrading. To append new attachables to the Active Storage association, prefer using attach. Using association setter would result in purging the existing attached attachments and replacing them with new ones. (called from block in at /Users/mathieueustachy/code/maycowmeira/active_storage_validations/test/active_storage_validations_test.rb:470)
It could be interesting to adapt our code for Rails 7 in order to be compatible in 7.1 so that users do not experience interruption of service with our gem
After investigation, this warning is not directly related to the gem, it's up to the Rails users to update their config.active_storage.replace_on_assign_to_many config, so I am closing this issue.
When running tests with Rails 7, we have the below warning message:
It could be interesting to adapt our code for Rails 7 in order to be compatible in 7.1 so that users do not experience interruption of service with our gem