Save 36% for Black Friday! Learn more

Ruby on Rails Community Forum

How Do I send a "Turbo Hotwire Broadcast" only when a record with a specific name value is created or updated, and for a specific partial?

0
Rails
Hello, you have a great community in Gorails. I have a Rails View with 3 numerical integer indicators: speed, temperature and pressure. These values ​​are stored in SavedObject model as serialized ...
Luis Cuevas posted

Finding video

2
General
Hi, I am looking for part 2 and 3 of the series "Realtime with Hotwire and ActionMailbox" that are only available as preview on Youtube - am I missing something? Thank you very much
Hanamo replied

How to upgrade from Turbolinks to Hotwire & Turbo Discussion

12
General
Hey Chris, thanks for going over Turbo and StimulusJS 2.0 changes, I'm really excited about using them in my projects! One really big thing that would be great to cover is using dialogs/modals...
Thomas Connolly replied

Stimulus based ActionCable Subscriptions - possible race condition related to turbolinks preview?

0
Rails
Hi, I've been upgrading a legacy app to leverage Webpacker and Stimulus with the intention of moving to Hotwire eventually too. We have a few ActionCable (AC) channels used here and there and i...
Craig Chamberlain posted

Jumpstart App get's stucked with wrong login data

9
General
Hi. I've created a new app by using the jumpstart template: rails new testapp -d postgresql -m https://raw.githubusercontent.com/excid3/jumpstart/master/template.rb' rails db:create db:mig...
Martin replied
Solved

DHH's most recent hotwire update...

1
Rails
I just caught a tweet from DHH mentioning a new [hotwire related pull request](https://github.com/rails/rails/pull/42999). I'm curious to know how the go rails community feels about this. Seems...
Chris Oliver replied

Hotwire turbo stream update_or_[append/prepend] ?

1
Rails
Given a list of items that could be visible or not on a page (like a paginated list ), how is the best way to send from the server an update or append to that list? I Mean, update element when the ...
Miguel Michelson Martinez replied

ViewComponents and Tailwind CSS JIT

1
CSS
I created a flash view component to display flash messages. It does work, but the javascript trigger its display does not work as expected. Instead of displaying on the spot, it waits for like 5 s...
Stéphane Paquet replied
Solved

Hotwire prevents link_to from going to a different website

1
General
I recently added Hotwire to my rails app to update modals but this broke a link_to I had that redirected users to stripe. I looked online for ways to work around it but since Hotwire is relatively ...
Mark Nelson replied

Hotwire/Turbo + Webpacker/Stimulusjs

0
General
I think I'm confused. I love the functionality of Hotwire and experimented a little with it in a fresh app. I don't understand though, if I can also have Stimulusjs running - I have differe...
Bevin posted

Implementing Hotwire

1
Rails
Hello good people. I was watching DHH's video on hotwire and @Chris video on on this site demonstrating hotwire. Do we still need stimulus js in case we want to implement that on the group c...
Suleiman Nassor replied
Solved

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.