method

throw_setter_deprecation

rails latest stable - Class: ActiveRecord::DatabaseConfigurations

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.0.0) is shown here.

throw_setter_deprecation(method)
private

No documentation available.

# File activerecord/lib/active_record/database_configurations.rb, line 225
      def throw_setter_deprecation(method)
        ActiveSupport::Deprecation.warn("Setting `ActiveRecord::Base.configurations` with `#{method}` is deprecated. Use `ActiveRecord::Base.configurations=` directly to set the configurations instead.")
      end