The `cable` database is not configured for the `production` environment

I have been stuck for over a day just trying to deploy my starter app with just an ultra simple postgreSQL setup. I have watched a bunch of tutorials, followed the docs and used chatGPT a ton, to no avail. The docs don’t say anything about editing the database.yml, so I am confused by this error. I have copied and pasted the render.yaml exactly as well as the render-build.sh

I am getting this error:

/opt/render/project/.gems/ruby/3.3.0/gems/activerecord-8.0.0/lib/active_record/database_configurations.rb:229:in `resolve_symbol_connection': The `cable` database is not configured for the `production` environment. (ActiveRecord::AdapterNotSpecified)
  Available database configurations are:
  default
development
test
production

I’m unsure what is generating the output development, test, and production, but I’m reasonably certain that Rails believes you only have a default database configuration.

I also haven’t kept up with Rails development, so I don’t know if there are any intricacies around Action Cable, which is relevant here based off the output.

You must have just implemented Rails 8. The default config assumes you have configured Cable, Queue and Cache, and if you haven’t you won’t be able to start Production unless you re-configure…

  • Cable - match prod to dev in config/cable.yml
  • Queue - comment out reference to “solid_queue” in config/environment/production.rb
  • Cache - comment out “database” line in cache.yml