Save 36% for Black Friday! Learn more

Ruby on Rails Community Forum

How to build a wizard

7
Rails
Hi Chris Something I'd love to see a video on is on how to *build a wizard*. I find this not that simple and would love to see how you solve these kind of issues, like in an onboarding process...
Bryan Beshore replied

Could we get a video on passing Devise current_user (or general user roles) into a Turbo partial?

1
General
Hi Chris, I was just wondering if there is any possibility of getting a video or some tips on including Devise current_user data or user roles inside a turbo stream - specifically to show/hide edi...

Knowing you're probably preparing some episodes on Hotwire, here are some questions

3
General
* how do you install it with Rails 6.1 and most common use case (webpack setup) * is Turbo a drop-in replacement for Turbolinks? * what would it take to replace Turbolinks with Turbo in existing (6...

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

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

Chris, would you build Simple_Discussion differently today using Rails 7 and Hotwire?

2
General
I'm curious to hear how Chris would approach building simple_discussion if he had to start from scratch using Ruby 3.2, Rails 7 and Hotwire. Cheers! -Dan H
DanInBC replied
Solved

Suggestion for Topic/Lesson: Rebuild Recurring Select with hotwire

0
Site Feedback
Since the recurring select gem is not really actively maintained it would be great to see a hotwire version of what this gem offers. Maybe not every recurrence option it offers but a few of the sta...
spacerobotTR posted

Rails for Beginners Part 30: Tweet Validations Discussion

8
General
Working these videos late, I failed to realize my timezone is different from the rails default. You can set your time zone in `config/application.rb`. For example: `config.time_zone = "Easte...
Peter replied

Dynamic Nested Forms with Stimulus JS Discussion

36
General
Yes this is what ive been waiting for!
James DuBois replied

How do i use tom-select with stimulus and hotwire?

3
Rails
I'm using tom-select to either select from the options or create record in the modal. The problem happens when the form submits successfully and that newly created record is now have been selec...
Archonic replied
Solved

Rendering simple_calendar content using Turbo Frames

2
Rails
Hi there, It's a great pleasure to use this gem which is really handy ! I started using Turbo recently on my application and still had troubles wrapping my head around... Idea here is not only...
spacerobotTR replied

Bulk Operations in Rails Discussion

9
General
Super usefull episode! Thank you!

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

Stimulus not autoloading controllers

3
Javascript
Decided to give stimulus a try on a new app I am working on and immediately ran into issues. Up to this point this is a fresh rails 6.1 app and I have installed Hotwire-rails. Just using the hello...
Solved

Connect two rails apps with live updates hotwire, redis?

0
Rails
Hello. I am going to create a big project. Using GCP and Rails I'm willing to create management system for a company. Investigating I've managed to solve some problems that I figured out w...

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: ``...
Jeppe 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 wil...
Brian Gilbank posted

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

How to use Rails Request.js Discussion

4
General
Hey Chris, this looks like a great addition to rails and thanks for adding the turbo stream support! I'm working on an infinite scroll where at the end of the page a stimulus controller gets t...

Regarding 2 imports when running `rails hotwire:install`

1
Rails
Hi, When running `rails hotwire:install`, it shows 2 warnings: ``` You must import "./controllers" in your JavaScript entrypoint You must import @hotwired/turbo-rails in your JavaScript e...
Askar replied

Learning Ruby on Rails? Join our newsletter.

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