In this episode, I show you how to create custom Turbo Stream responses from controllers and custom broadcasts over the wire using Action Cable. This really unlocks the power of Hotwire, and composing these together will help you build truly interactive applications easily! 🚨 Just a heads up, when taking something like this into production, remember to put the current user's ID, or the ID of the payment into the `turbo_stream_from` channel name, to make sure you're only broadcasting the info to the specific user. The source code for this episode is available here: https://github.com/phawk/rapid_custom_turbo_streams/tree/custom_turbo_stream_broadcasts P.s. Want access to next week's video right now? Head on over and sign up on rapidruby.com now! --- Has this video helped you out? Consider buying me a coffee to say thanks and support future content like this, thanks! https://app.payhere.co/rapid-ruby/buy-me-a-coffee-aa4618e4-45d1-4727-81b9-2d081449d61d You can also find more content like this, including premium courses and exclusive community and mentorship to help you level-up! Head over to https://rapidruby.com and use the code RRYOUTUBE for a discount!
Published: Feb 15, 2023