I was trying to implement a multiple database selector with active record following this rails guide --> https://guides.rubyonrails.org/active_record_multiple_databases.html
Everything was ok, but when I tried to run Jets comands I got this error --> block in load_environments_config’: undefined method `database_selector=’ for nil:NilClass (NoMethodError)
Trying to find a way to solve it , I’ve discovered that is because rails have a Middleware called Database Selector, and listing the available middlewares of Jets, I didn’t found it on the list.
There is a way of using multiple databases (per example a primary and a replica) in Jets applications?
Thanks in advance!