Class: ActiveRecord::Tasks::MySQLDatabaseTasks
- Inherits:
-
Object
- Object
- ActiveRecord::Tasks::MySQLDatabaseTasks
- Defined in:
- lib/multi_db/active_record_patches.rb
Instance Method Summary collapse
Instance Method Details
#purge ⇒ Object
145 146 147 148 |
# File 'lib/multi_db/active_record_patches.rb', line 145 def purge establish_connection configuration connection.recreate_database configuration['database'], end |