Ruby on Rails Community Forum

How to manage and run Maintenance Tasks for Rails in Production Discussion

2
General
Looks good, can I still use this if I directly use sidekiq for my background jobs rather than activejob?
Jay Killeen replied

Search Filters with ElasticSearch Aggregations Discussion

21
General
This has been very helpful for a project I'm working on. Thank you. On mine, I wanted to add checkboxes to be able to select multiple keys. For anyone else looking to do the same, the solution I ca...
Lucas Moraes replied

Ruby Version Managers Discussion

9
General
Missing chruby in this list, https://github.com/postmode...A really small ruby version manager which does nothing more than manage your ruby versions. Unlike rvm and rbenv it does not come with a r...

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

How to solve a status 308 with Action Mailbox?

1
Rails
Hi ! I am trying to send email from my Gmail accounts to my Rails application using Action Mailbox. To configure it, I've followed this tutorial https://gorails.com/episodes/action-mailbox-rails-...
Helena replied
Solved

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

Share resources among controllers?

3
Rails
Hi, I’m not even sure I’m using the correct terminology here (sharing resources among controllers) but here goes. Imagine I have a page called students with the usual CRUD functionality and anothe...
Solved

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

Learning Ruby on Rails? Join our newsletter.

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