Configuration for cable action for postgreSQL?

What will the configuration file config/cable.ymlfor the postgreSQL adapter look like ?

+4
source share
1 answer

This works for me:

# config/cable.yml
production:
  adapter: postgresql

development:
  adapter: postgresql

test:
  adapter: postgresql

The postgresql adapter uses the pg notify command . Keep in mind that the message body must be less than 8000 bytes.

+5
source

Source: https://habr.com/ru/post/1655049/


All Articles