We are connecting to multiple databases. And we are using aasm gem to switch state from created to syncing. However, while switching states aasm throws an error ActiveRecord::ConnectionNotEstablished (connection is closed):
Any guidance would be appreciated.