How do I dynamically update views when objects change

9
Rails
Hello, I have objects called lockouts. I have several views where the users lockouts are listed or displayed. I want to update those views without having to refresh the page. So if an attribute of ...
LOLCONCEPTS replied

How to determine acceptable memory baseline for my application?

7
Rails
Hey everyone, I have a Rails app deployed on Render's "Starter" plan which only includes 512MB of memory. My Rails app is a very simple blog that doesn't do anything crazy (as far as I know) with r...
Adam Taylor replied

How to send Webhook?

11
Rails
I'm building a content management service which needs to send a webhook everytime the user saves a record. What's a best practice to send webhooks in a rails app? A LOT of tutorials are about rece...
Chris Oliver replied
Solved

Can a Rails app send messages through Signal Messenger?

4
Rails
I'm trying to figure out if it's possible to have a Rails application send messages to user via Signal messenger (as opposed to an email or SMS). Has anyone tried to do this?
Waqas Mo replied

How can I squish SQL for log tidiness (automatically)?

3
Rails
Hello everyone, I’m dealing with a challenge in my codebase where there are numerous multiline SQL heredocs being logged. While these may be helpful for local debugging, they become a hassle when ...
Simon Deis replied

Running into render build error related to Tailwind

9
Rails
Following along with the Build a Blog lesson and currently trying to deploy on render. I can't seem to pass the below error during build - has anyone else seen this before? Locally tailwind is wo...
Chris Oliver replied

How do I access these submitted Stripe card parameters in my controller action?

0
Rails
I'm having a confusing issue with a checkout process I've created for an online shop (Rails 7.2.0, MYSQL database). I'm using the Stripe Gem to process payments. It is working fine but I need to us...
Tee posted

ActiveMailer .with method

1
Rails
Hi everyone, What is the reasoning to use .with over the just passing the args using regular ways? for ex: class UserMailer < ApplicationMailer def welcome_email @user = params[:user] ...
Chris Oliver replied

ActionText and Globalize error

5
Rails
Hi! I have application which is using [globalize gem](https://github.com/globalize/globalize/) and i planning to start using ActionText. So, for example i have model called Business ``` class Busi...

How to include javascript node_modules dependencies in Rails Engine?

4
Rails
I'm working on fork of `simple_discussion` gem which is Rails Engine to extend the functionality of forum in the parent Rails application. I'm adding Markdown support using SimpleMDE. I've thought...
crowdhamburger replied

How to correct Error 401 Unauthorized, using a multiple devise model ?

1
Rails
I'm doing a mini-project, for which I'm using two devise models, a user model and a advisor model. When I log in as an advisor, I'm redirected to a 'pages_advisors' page. On this page, there's a li...
Clément NICOLAS replied

Why aren't Tailwind UI components displaying properly?

0
Rails
Is anyone else recently having issues with Tailwind UI components not displaying properly? For example, let’s examine the first “Stacked” component: **tailwindui dot com/components/application...
Hideko Endo posted

Javascript not working in production

5
Rails
I am using Rails 7 with importmap, everything works fine in development, but in production none of the javascript works. Specifically, my channels files are of the "wrong MIME type" giving a 404, ...
Derek Hobson replied

Struggle with Rails 7, esbuild, and Tailwind CSS Asset Loading

3
Rails
Recently, I ran into an issue while setting up **esbuild** and **Tailwind CSS** in my Rails 7 app. Despite following all the recommended steps, my **stylesheets** and **JavaScript files** simply wo...
Florian Osterhus replied

Form with references field

1
Rails
I have a form with references field: <%= form.label :name, style: "display: block" %> <%= form.text_field :name %> <%= form.label :city_id_id, style: "display: block" %...

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

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

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

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

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

Learning Ruby on Rails? Join our newsletter.

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