practice doing this
at main 549 B view raw
1# Async adapter only works within the same process, so for manually triggering cable updates from a console, 2# and seeing results in the browser, you must do so from the web console (running inside the dev process), 3# not a terminal started via bin/rails console! Add "console" to any action or any ERB template view 4# to make the web console appear. 5development: 6 adapter: async 7 8test: 9 adapter: test 10 11production: 12 adapter: solid_cable 13 connects_to: 14 database: 15 writing: cable 16 polling_interval: 0.1.seconds 17 message_retention: 1.day