Only affects Rails >= 7.1, and only if nothing is configured for Rails.application.config.*.deprecations* settings.
Rails checks the object(s) assigned to behaviour respond appropriately, and nil doesn't. If we get back a nil from the deprecator options, we need to compact it before setting the behaviour for all.
Only affects Rails >= 7.1, and only if nothing is configured for
Rails.application.config.*.deprecations*
settings.Rails checks the object(s) assigned to behaviour respond appropriately, and
nil
doesn't. If we get back anil
from the deprecator options, we need to compact it before setting the behaviour for all.