Save 36% for Black Friday! Learn more

Ruby on Rails Community Forum

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

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

Custom Turbo Confirm Modals with Hotwire in Rails Discussion

8
General
Thanks for this
Adrian Marin replied

Remember Me in Devise fails to Login User

2
Gems / Libraries
If I don't use `remember_me` option, it works perfectly fine. The app flows as expected. However, if I check `remember_me`, it will login in as expected, redirect me to a protected page, whic...
Szedmák István replied

Rails for Beginners Part 14: Handling Sign Up Errors Discussion

39
General
Love these Chris, noting some new tricks along the way. Plus your always positive demeanour makes this so enjoyable to go through.
Michael replied

Tip of topic for new episode on hotwire

1
Rails
How to use turbo frames for more complex pages that has menu and sidebars that themself are at least somewhat dynamic (say user name, sidebar options that change depending of what page you are at e...
montigokylie replied

How to use ESBuild in Rails with JSBundling Discussion

30
General
This is awesome, I have been using it for a couple of weeks now. I didn’t necessarily think webpacker was slow, except maybe on Heroku builds. But when you use this, you wonder why you put up with ...
Aaron replied

Dynamic Select Fields in Rails with Hotwire Discussion

19
General
If I'm reading this error correctly does this mean the url value and param value are not being pulled from the data fields? GET "/undefined?undefined=Head&target=muscle-table"
chloetakahashi replied

A Gorails "Path" series to learn the Rails way of doing Javascript?

2
General
Hey Chris. I'm coming back to Rails after some 2 years. While I'm able to pick things up, I'm confused by all the new rails way of doing Javascript and Ajax. Before I left, there was o...
Chris Oliver replied

How do I build a multi step wizard in ruby with StimulusJS

6
Ruby
Hi GoRails, I would like to make a multistep wizard in ruby on rails without making use of the wicked gem. Just stimulusJS and ruby :) Could you make a tutorial about that? Thanks in advance!
Fatih replied
Solved

Multi-step forms, without a gem?

1
Rails
I am looking for a good way to get multistep forms working, I have seen a couple of ways to do this and each has their own merits. Now I would like to be able to navigate back and forth between t...
Fatih replied

Using Vuex with a Rails Backend Discussion

0
General
Hi! I am really in doubt if I start my project with the Hotwire approach vs the Vue approach. One of the main concerns is that I intend tô have a PWA for mobile. In this case are both ways suitab...
Ricardo Miranda de Novais posted

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

Native Mobile Options

6
General
I have a Rails 4 app that is fully responsive and works good on the mobile browser. However, I want to make native apps for it for iOS and Android. What are some recommended steps? Is Phonegap a ...

Rails for Beginners Part 16: Logging Out Users Discussion

3
General
Could you provide a little excerpt of why button_to is better than link_to for Hotwire? Or a link to the specific video and time? I'm sure it would be useful.
Andrés Ibáñez Ulloa 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

Auto-submitting Forms & Custom Turbo Stream Actions Discussion

14
General
Awsome work Chris. Thanks!
Ahmed Nadar replied

Flash Messages and Toasts with Hotwire & Turbo.js Discussion

25
General
Nice! I've been playing with Turbo and that comes on perfect timing, thanks! But didn't you think that feels wrong? We used to have the controller do all of that for us with the redirects...
Chuck replied

Setting up Customer Support models with Hotwire Discussion

3
General
It's for useful episodes like this, that I'm here since 2014. Super thank you!
magico replied

How do I fork turbo and use it as my turbo version

1
Rails
How do I fork turbo and use it as my turbo version in a rails 6 app, I tried linking to the github of my forked turbo repo in package.json but it gave me an error couldnt find hotwire
Solved

Learning Ruby on Rails? Join our newsletter.

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