Default value as positional argument to settings is deprecated and will be removed in the next major version

I am going to maintain a rails application locally on Mac M1 based computer.
OS Version: Monterey 12.1
Ruby version 2.6.6
Rails version 4.2.11

I am getting this error and can’t figure out what is actually causing this error to raise. The error logged in console:

/Users/shimolkhan/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/dry-validation-0.13.3/lib/dry/validation/schema/class_interface.rb:8:in `<module:Validation>' [dry-configurable] default value as positional argument to settings is deprecated and will be removed in the next major version Provide a `default:` keyword argument instead

How can I solve this issue?

It’s a warning coming from a very old version of dry-validation that we no longer support, so please upgrade to the latest version.