Multiple Databases With Rails Not Working For Remote Database
问题 I have a remote read-only postgres database that is maintained from a docker instance of cardano-db-sync. I managed to connect the development database to it, it was working fine. But since it is read-only I wanted to add another database for User and other modifiable tables. this is the set up I prepared: # config/database.yml default: &default adapter: postgresql encoding: unicode pool: 5 development: <<: *default primary: database: 'db_sync' cexplorer: database: 'cexplorer' username: <%=