method

loading

Importance_0
v8.1.1 - Show latest stable - 0 notes - Class: Interlock
loading(&block) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/dependencies/interlock.rb, line 12
      def loading(&block)
        ActiveSupport.deprecator.warn(
          "ActiveSupport::Dependencies::Interlock#loading is deprecated and "            "will be removed in Rails 9.0. The loading interlock is no longer "            "used since Rails switched to Zeitwerk for autoloading."
        )
        yield if block
      end
Register or log in to add new notes.