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