method

throw_getter_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_getter_deprecation(method)
private

No documentation available.

# File activerecord/lib/active_record/database_configurations.rb, line 229
      def throw_getter_deprecation(method)
        ActiveSupport::Deprecation.warn("`ActiveRecord::Base.configurations` no longer returns a hash. Methods that act on the hash like `#{method}` are deprecated and will be removed in Rails 6.1. Use the `configs_for` method to collect and iterate over the database configurations.")
      end