BeautifulRuby.com
@BeautifulRubyHQ
Video courses, content, & tutorials that make you a better Ruby & Rails developer at http://BeautifulRuby.com. Curated & crafted with ❤️ by @bradgessler.
Thanks 100 followers. 🫡 Let’s see how long it takes to jump an order of magnitude to 1,000. 🥳

This is being used to get video streaming working well for the Phlex on Rails course.
I just nerd sniped myself into Service Objects. The reason I'm not a fan of them is because they're usually implemented as a level of indirection. The way I do it is setting a Ruby constant to the instance of an actual service. Enjoy. beautifulruby.com/code/service-o…
Imagine doing this instead. This is why I ❤️ Phlex so much. When views are Ruby objects, you can do way more with them, like attach a Turbo module to the view and broadcast it directly. This is the kind of stuff I'm covering in the @BeautifulRubyHQ course 💪
Turbo is amazing. Check this out: