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

Updated to Ruby 3.1.2, now targets in Stimulus Controllers not working

1
Javascript
I am using Rails 6 and recently upgraded from Ruby 3.0.1 to 3.1.2. Since the upgrade for some reason, my reflexes are no longer working properly when invoked from stimulus controllers, as shown in ...
Greg S replied

Persistent audio via stimulus change audio on click

0
Rails
Hi, I have set up Plyr with stimulus and I have also got the sessions working with application.html.erb so I can have the player on every page in the app via the id params thanks to help here on Re...

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 = "Eastern Ti...
Peter replied

How do I find out why Stimulus controllers aren't getting compiled? Asset Pipeline problem

1
Javascript
I updated a Rails 6 app to Rails 7 and changed from Webpacker to esbuild/webpack. Added Stimulus, and after not getting controllers to work tried a basic hello_controller and then searched the appl...
Greg S 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

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 selected ...
Archonic replied
Solved

How To Update ActionText Attachments Discussion

2
General
Maybe would be even more generic with `GlobalID::Locator.locate_signed(node.attributes['sgid'].value)` https://github.com/rails/globalid#signed-global-ids
Adam Stockland replied

How do I pass local variables to iteration in turbo_stream?

0
Ruby
In my app I have projects which have many tasks. The tasks are iterated through on the projects show page: ``` ### Project#show <% @tasks.each do |task| %> <%= f...
Gabriel posted

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 to ...
spacerobotTR replied

Bulk Operations in Rails Discussion

9
General
Super usefull episode! Thank you!

Extend stimulus controller - base class not found

2
Javascript
I want to extend the Stimulus controller to get some often used method in one place, like this: import {Controller} from "@hotwired/stimulus" ./controllers/base.js export default class Base exten...
MollySpencer72 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

TailwindCSS Stimulus Components Gem not working in new rails 7 application

2
Gems / Libraries
Attempting to use the following gem in a new rails application: https://github.com/excid3/tailwindcss-stimulus-components Main reason is that the new supported tailwind gem that you can install di...
Bryan Beshore replied

First open source contribution to turbo-rails

4
Rails
Hello- I'd like to take a crack at fixing https://github.com/hotwired/turbo-rails/issues/341 for turbo-rails. I'm having a little trouble navigating my local setup to verify the change is working ...
computer_smile replied
Solved

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

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

Learning Ruby on Rails? Join our newsletter.

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