I had a issue in the user.rb raising *undefined method `dom_id'* after updating an user, I just had to manually set the *broadcast_replace_later_to "users_list", target: "#{dom_id self.id}_row"* to broadcast_replace_later_to "users_list", target: "user_#{self.id}_row". And with that it works, thanks for the video.
What if we have different pages where we need to display status in different format. On one page it's table of users, on another it's card, etc. Would that naming convention "dom_id user"_row make sense if we don't have rows in every page/template that should be updated?
@@mixandgo anycable they said more efficient than actioncable for large apps 🤭if you got time to replace actioncable by anycable and use it instead for this app will be great tuto, you know just saying 🤗
Definitely one of the best explanations I've found, you got a new subscriber!
Thanks man
Another great video! These have been so helpful, excited for your course 👍🏻
Happy to hear that :)
Helpful as always! Also explained why the broadcasts were blocking for me haha. Appreciate it!
Thanks man!
I had a issue in the user.rb raising *undefined method `dom_id'* after updating an user, I just had to manually set the *broadcast_replace_later_to "users_list", target: "#{dom_id self.id}_row"* to broadcast_replace_later_to "users_list", target: "user_#{self.id}_row". And with that it works, thanks for the video.
great video, thanks
love it thank you !
Glad to hear that :) Thank you.
thx
What if we have different pages where we need to display status in different format. On one page it's table of users, on another it's card, etc. Would that naming convention "dom_id user"_row make sense if we don't have rows in every page/template that should be updated?
The only condition is for it to be unique on the page. You can name it however you want.
can you do it maybe later with anycable ?
Maybe, I don't know. What are you using it for?
@@mixandgo anycable they said more efficient than actioncable for large apps 🤭if you got time to replace actioncable by anycable and use it instead for this app will be great tuto, you know just saying 🤗
I don't learn anything from this video.
I'm sorry to hear that. What seems to be the confusion?
This is just a show case of a feature that is available and not an in-depth tutorial.