Is there a way to change database connection for aasm in ruby in a multi-database setup?

43 views Asked by At

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.

0

There are 0 answers