Save 36% for Black Friday! Learn more

Action Cable with Puma, Nginx, Docker Swarm

6
Servers
I setup a DigitalOcean Ubuntu 22 droplet to host a docker swarm with containers for a rails app, postgress, and redis. I’m not able to get action cable to work with puma and nginx. I see errors in ...

Testing Rails ActionCable Channel

1
Rails
I followed along with the Online user tracking with ActionCable and was able to get it all working. I replicated a similar channel in another app and again it works great, however when I came to te...

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

Switching Between Live and Test Modes in Stripe Connect with Pay Gem

0
Rails
We have set up Stripe Connect in our Rails application to allow customers to sell their products. Currently, we support purchasing products from connected accounts only in live mode. However, we re...
Sandhiya Thangaraj posted

How to use Action Mailbox in Rails 6 Discussion

24
General
This is great! Can action mailbox be used with a gmail account or does it have to be one of the services listed?

Audited vs papertrail gem for auditing table changes?

4
Rails
I'm currently looking to use either one of these two for auditing changes made by specific user roles on a rails 6 ecommerce app using mysql. They both seem similar and I'm currently leaning toward...
anniesteuber replied

Wrapping up our Web Scraper in Rails Discussion

0
General
The source code link for this lesson is missing. This is for anyone who is looking: https://github.com/gorails-screencasts/web-scraper
Anthony Veaudry posted

How To Use Importmaps With Rails Discussion

7
General
Are you using import maps yet?
Daniel Lee replied

Adding Sales to the black_friday gem Discussion

0
General

SQL Learning Path - Creating and Dropping Databases Discussion

7
General
Initially, I got a connection error, to the effect, 'database 'my_user_name' does not exist. After running `createdb` and then `psql`, everything works and I was able to connect using 'TablePlus' ...
Jesus replied

How to Add Pagination for Blog Posts in Rails Discussion

5
General
I like the manual approach of looking inside the `pagy` object and finding your way to get what you want! That is what I usually do instead of searching the doc :) A simpler approach that I recomm...
D john 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

How do I modify the query used to eager load associations

0
Databases
Hi, I have a classic hierarchical entity with single level of nesting ``` class Job < ApplicationRecord has_many :children, class_name: 'Job', foreign_key: 'parent_id' belongs_to :parent, op...
mchwalek posted

Blog Posts with File Uploads using ActiveStorage & Amazon S3 Discussion

25
General
How did you get to the Policy section on AWS?
D john replied

What are the costs of using a payment software solution?

3
General
Hello everyone, I'm researching payment software solutions for my business, and I'm curious about the costs involved. Can anyone share their experiences or insights regarding the various costs asso...
Srichakradhar Reddy Nagireddy replied

Adding Bluesky Delivery Method To The Noticed Gem Discussion

0
General
Next session should do this for nostr šŸ™ƒ
Martin Barilik posted

Mac Sequoia: Rails installs but command line does not see it

2
Rails
I followed the directions but errors running the mise global command: gorails.com/setup/macos/15-sequoia Now, with this setup the command line sees ruby and gem. export PATH="/opt/homebrew/opt/rub...
Greg S replied

How can i install Daisy UI?

0
Javascript
I want to be able to use Daisy UI, but i am reading different ways to accomplish this – making me confused on how to actually install node packages. 1. One way is setting up the CDN, which is not ...

Tutorial on verifalia gem

2
Rails
Having trouble setting this up on my Rails 7 app. A tutorial would be very helpful! Some goofball is using a bot to clog up my db with fake users. I've got him throttled to one a day, but it's quit...
Cassandra Pace replied