Search Results for "hotwire"
Lessons
Forum Threads

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 different needs...
Bevin posted

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 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

Hotwire and iframes?
2
Rails
Hey everyone! I am working on a page builder. So the preview is in an iframe.
I am trying to make it so when I click the edit icon on a section in the iframe it displays that form in a sidebar in ...
drawgrunt replied

Hotwire Not Working Inside of Namespace
0
Rails
This seems like an easy fix, but I am not sure why its not working. I have an admin dashboard using Hotwire, but I can't seem to create records for my gym model (There are no errors, and it will wo...
Brian Gilbank posted

Hotwire missing template on form submission
6
Gems / Libraries
Hi Chris/extended go-rails community :)
I have been playing around with the new turbo rails and trying to implement a turbo stream for my login form submission errors. I am wondering if anyone el...
Jake Smith replied

Hotwire Modal Forms Discussion
25
General
Thanks a lot for this video! I see it's becoming a trend to add a `format.turbo_stream` response in all my controllers only if it fails.
Fernando Flores replied

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 chat ...
Suleiman Nassor replied
Solved

With Hotwire and a long-running background job, how can I show a message indicating that data is loading?
1
Rails
So I have a long-running API call running in a background job. As records are created/updated/removed in that job I have them broadcasted to the user. I would like to have a notification/badge adde...
Solved

What is Hotwire Strada?
6
General
Hi, I am not sure what Hotwire Strada will be for?
Is it something to be able to do kind of mobile web app with our rails app?
Anybody know more details?
Abdullah replied

Devise and Hotwire
1
Rails
Hi guys, I'm getting an error with devise and hotwired/turbo.
This is only when I use the current_user helper in any of the partials that receives any broadcast, the error is the following:
```
De...
Jeppe replied

How to use Hotwire in Rails Discussion
86
General
Can you please provide the repository for this also?
D john replied

Live Reloading with Hotwire Spark Discussion
2
General
I like the idea of morphing for live reloading. It makes for a very smooth experience. There is still lots to improve but I'm excited to have an official live reloading library for Hotwire.
Ashish Darji replied

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 lik...
Chris Oliver replied

How do you deploy hotwire turbo via capistrano?
1
General
I just deployed a site to an ubuntu server I have on premise. The site is working, but none of the turbo hotwire stuff is. Like clicking a button to open a modal with hotwire does nothing. I see no...
spacerobotTR replied

Datatables From Scratch Using Hotwire Discussion
31
General
fantastic thanks
Dan Tappin replied

Custom Turbo Confirm Modals with Hotwire in Rails Discussion
8
General
Thanks for this
Adrian Marin replied

Migrating from Rails UJS to Hotwire: Data Method, Confirm, and Disable With Discussion
18
General
Small comment about those delete links (I really dislike using links for delete requests): when you need to put a delete button inside form, consider moving the submit button outside of the form in...
Colin Ambler replied

Liking Posts in Rails with Hotwire Discussion
1
General
Really fun to revise our most popular [GoRails episode on Liking Posts](https://gorails.com/episodes/liking-posts?autoplay=1) and update it for modern Rails. No more jQuery, js.erb responses, or an...
Eric Halverson replied

How to use Devise with Hotwire & Turbo.js Discussion
81
General
Hey Chris - If we are still using Webpacker, we just need to change data-turbolinks-track to data-turbo-track in our layout files? In your episode repo, you still have it as turbolinks.
<%= st...