Method: ActiveRecord::Tasks::MySQLDatabaseTasks#create
- Defined in:
- lib/active_record/tasks/mysql_database_tasks.rb
#create ⇒ Object
19 20 21 22 23 |
# File 'lib/active_record/tasks/mysql_database_tasks.rb', line 19 def create establish_connection(configuration_hash_without_database) connection.create_database(db_config.database, ) establish_connection(db_config) end |