Realtime Online User Tracking with ActionCable Discussion
16
General
How would you limit those users by tenant ( account)? Would you make the data sent to redis an array of two integers, like [1, 2] where 1 is the account.id and 2 is the user.id? Or is there a simpl...
Matthias Orgler replied
CloudFlare Turnstile Captchas in Rails Discussion
2
General
You should really create a gem for this. Or maybe I should? :)
Gintaras Sakalauskas replied
Deploying URL Shortener To Production with Hatchbox.io Discussion
0
General
Is Sucker Punch necessary with Rails 8 now that Hotwire is integrated? I deployed my app to Fly.io and the background job is working without the added configuration suggested in this video.
Alex H. posted
Populate dropdowns based on selection
4
Javascript
I'd like to get people's thoughts on the best approach.
I'd like to have a search ability where once a selection if made, the next dropdown box populates with only the available options from the d...
Chris Oliver replied
Noticed V2 is great! What am I missing on the issue of 'persisting clients subscription'
2
Gems / Libraries
I use the web_push strategy in Noticed V2 - and it's a kicker - my +1 on that, really!
But I must be doing something wrong b/c everytime a user logs into the app hem is requested (by the service-w...
Walther Diechmann 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
Custom Turbo Stream Actions Discussion
7
General
Great episode! Is there any convention or recommendation for managing the JS code instead of throwing it all in the `application.js`? Something like `app/javascript/stream_actions/console_log.js`, ...
Samuel Couillard 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
Inline Editing with Turbo Frames in Rails Discussion
5
General
How would you abstract the polymorphic path if you wanted to use the inline edit/fields partials both in forms that are namespaced like in an admin route (e.g. a form at admin/settings/show) but al...
Jeremy Bray 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, which wi...
Szedmák István replied
Integrating your own css doesn't work with Rails 7.1.2
1
CSS
Hello,
I use Rails 7.1.2 and Ruby 3.0.2. I wanted to include my own css. It doesn't work. The following errors occur:
Sprockets::Rails::Helper::AssetNotFound in Pages#index
The asset "custom.css" ...
Enow B. Mbi replied
Deploy Ubuntu 22.04 Jammy Jellyfish Discussion
46
General
Thanks a lot for this step by step guide!
Anyway, I'm facing a problem with Passenger. After deploying the app, I see this in the nginx logs:
Error opening '/home/deploy/my_app/current/Passengerfi...
Hamdan M 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
Google Maps and Google Places Autocomplete API with Rails, Turbolinks, and Stimulus.js Discussion
12
General
Thanks Chris, great video.
I have tried to work with Google Maps Places API in the past, but I have faced an issue with their API Policies. According to their policy you cannot save details like t...
alangosh replied
How to Deploy Rails to Render Discussion
14
General
Great video, thanks Collin!
Emmaotiki5 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 only stimulus...
Chris Oliver replied