This PR allows specifying a Database Role. Primary use case being a read replica for view only.
Rails 6.1 brought in connection handling which makes this super easy.
This was built quickly so if I missed any areas please let me know. Also, this has no test coverage so happy to take feedback on how to improve/perform that.
This PR allows specifying a Database Role. Primary use case being a read replica for view only.
Rails 6.1 brought in connection handling which makes this super easy.
This was built quickly so if I missed any areas please let me know. Also, this has no test coverage so happy to take feedback on how to improve/perform that.