instance method
deprecators
Ruby on Rails 8.1.2
Since v7.1.6Signature
deprecators()
A managed collection of deprecators (ActiveSupport::Deprecation::Deprecators). The collection’s configuration methods affect all deprecators in the collection. Additionally, the collection’s silence method silences all deprecators in the collection for the duration of a given block.
Source
# File railties/lib/rails/application.rb, line 246
def deprecators
@deprecators ||= ActiveSupport::Deprecation::Deprecators.new.tap do |deprecators|
deprecators[:railties] = Rails.deprecator
end
end
Defined in railties/lib/rails/application.rb line 246
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Application