method
database_adapter_for
v7.1.3.4 -
Show latest stable
- Class:
ActiveRecord::Tasks::DatabaseTasks
database_adapter_for(db_config, *arguments)private
Create a new instance for the specified db configuration object For classes that have been converted to use db_config objects, pass a `DatabaseConfig`, otherwise pass a `Hash`