Closed rzane closed 9 years ago
@rzane Just as you do for DatabaseCleaner,
DatabaseRewinder[:active_record, connection: 'database_connection_name']
DatabaseRewinder[:active_record, connection: 'database_connection_name2']
DatabaseRewinder[:active_record, connection: 'database_connection_name3']
...
would work.
Also. I just added a simpler form for configuring the same thing.
DatabaseRewinder['database_connection_name']
This would be available with gems '>= 0.5.1'
Works like a charm! Thanks for the quick update.
:cake:
Is there any way to clean multiple databases?