Skip to content

Remove deprecation warning for Module#parents

Arturo Herrero requested to merge deprecation-warning-module-parents into master

What does this MR do?

Rails 6.0 renamed Module#parents to module_parents. It will be removed in Rails 6.1

References:

DEPRECATION WARNING: `Module#parents` has been renamed to
`module_parents`. `parents` is deprecated and will be removed in Rails
6.1. (called from model_name at ../ee/app/models/concerns/custom_model_naming.rb:15)

Merge request reports