Postgresql – database_tasks: false not working in rails 7.1
I have 2 read replicas configured in the database.yml and I want to avoid any write operation in the Ruby on Rails application. When setting database_tasks: false the following exception was raised: /.rvm/gems/ruby-3.2.2/gems/activerecord-7.1.1/lib/active_record/railtie.rb:151:in `block (3 levels) in <class:Railtie>': undefined method…