method
throw_getter_deprecation
rails latest stable - Class:
ActiveRecord::DatabaseConfigurations
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