Ruby on Rails Community Forum

Setup MacOS 10.15 Catalina Discussion

15
General
GJ

This website is under heavy load (queue full)

4
Servers
I just got this message today on my production site. Website is running an ROR backend with a React front end. Current site is running on Hatchbox/Digital Ocean with 16vCPUs, 32gb Memory and 200gb...

Confirm not working with rails (version 6.11)

0
General
I have posted question on stack overflow regarding confirmation in rails .Can any one guide me through? Here is the link to that question: https://stackoverflow.com/questions/71825780/confirm-not-w...
imran khan posted

Rails 7 with esbuild application production deploy failed

5
Rails
Hello there, I'm using Capistrano for production deployment, getting below error when I try to deploy my rails 7 application to DigitalOcean server. ``` 00:43 deploy:assets:precompile 01 $H...
Viktor Smári replied

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

Rails Association Question

1
Rails
Hello I have an app where I have a list of Cars. I have a form above that can filter them based on different attributes. I wish to add filtering based on their model and sub-models. Each car alre...
Chim Kan 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 will wo...
Brian Gilbank posted

Rails for Beginners Part 26: Table Plus Discussion

5
General
Sequeler for Linux will do the trick as well for SQLite, MySQL and pgSQL Lots of decent options out there.
Alex Wertheim replied

How do I use Rails.ajax() method

0
Rails
My web console is giving an error message that "Rails.ajax is not a function". I'm following the tutorial on Drag and Drop Sortable lists at https://gorails.com/episodes/rails-drag-and-drop-sortabl...
Owen Millward posted

How to integrate google-drive Api with ruby application?

1
Ruby
Hi, I'm working on a ruby application, and i need to integrate google-drive with this application to upload the files from the drive and show it. Can anyone help me , how to integrate ?
Jatin Choudhary replied

Contributing to Open Source: Sidekiq Web UI Bug Fix Discussion

0
General
Contributing to open-source projects always seems intimidating, so it's nice to see examples that are accessible and straightforward. Thanks for this.

Rails 7 and Vue 3

1
General
Hey all, Trying to follow some of the VueJS tutorials (Trello clone) and I'm wondering if Vue has some special setup steps in Rails 7? I also could follow the tutorial in a lower version of Rails ...
Zakaria Fatahi replied

How to implement signup page for devise for two types of users?

0
Rails
Hi there, I would like to implement STI for devise which will have two types of users. The first type of user is allowed to signup and I have called this as "PublicUser" and the second type of user...
Ponciano Vieira posted

Any good resources to learn rails with postgresql database?

0
General
I'm new to ruby on rails and need good resources to follow. Currently i'm watching a course in linkedin learning but it's showing lots of errors when executed as they say. The need is urgent as i h...
PUNEETH KUMAR V H posted

How do I make Paper trail log onto a different database engine rather that the main database ?

0
Rails
I have a project that has an established database connection and I am trying to separate the versioning of paper_trail onto another database.
Abdelfattah Hezema posted

Refactoring Javascript with Stimulus Values API & Defaults Discussion

0
General
Amazing!!
Pedro Augusto Ramalho Duarte posted

Custom Route Constraints & Regex in Rails Discussion

0
General

Testing Against Multiple Databases in Rails with The DATABASE_URL Env Var Discussion

0
General

Complete Source Code File Search For A Specific Term WIth It's File Name And Line Number

0
General
Hello. This guy is brand new to Rails and programming. How do I write a script using Github Desktop that searches every file in the source code for a specific word, and have it tell me the file nam...
The Palpatine Lives posted

Select Or Create Field With Selectize.js Discussion

22
General
Awesome! Would love more episodes like this. :)
Rafal Siepak replied

Learning Ruby on Rails? Join our newsletter.

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