Running my rails 7.1 app generates a deprecation warning.
DEPRECATION WARNING: DeprecatedConstantAccessor.deprecate_constant without a deprecator is deprecated (called from <top (required)> at /Users/brennan/Projects/kidcarekit/config/application.rb:7)
Expected behavior
We shouldn't be using the DeprecatedConstantAccessor anymore, and instead should be using the Devise.deprecator which does not generate a Deprecation Warning.
Environment
Current behavior
Running my rails 7.1 app generates a deprecation warning.
DEPRECATION WARNING: DeprecatedConstantAccessor.deprecate_constant without a deprecator is deprecated (called from <top (required)> at /Users/brennan/Projects/kidcarekit/config/application.rb:7)
Expected behavior
We shouldn't be using the DeprecatedConstantAccessor anymore, and instead should be using the Devise.deprecator which does not generate a Deprecation Warning.