
Github actions & RAILS_MASTER_KEY
1
Rails
Hey Chris, hey community,
I've been following along your guide on setting up GitHub-actions with Rails (https://gorails.com/episodes/github-actions-continuous-integration-ruby-on-rails), however I...

Ruby on rails - what is the best way to add social authentication in the project?
4
Rails
I want to add social authentication in my project like user can also login with Facebook, Github, and Google.
I have already added the simple authentication with the devise gem. And now I want to ...

How do I check for validation for redirection to void cyclic redirection loop?
0
Rails
I have a redirection model with two columns `to` and `from`. I also have a frontend UI, where the redirections can be added.
I need to know whether is there any solution to avoid cyclic redirect l...
tewtetswtestws posted

Integrating Action Mailbox with Sendgrid
0
Rails
Hi, I was integrating action mailbox in Rails 6 application. I've tried various articles but i am not receiving any reply email in my application. Only newsletter emails from 3rd party are arriving...
Saad Abdullah posted

Rails with Stimulus Reflex and AnyCable too slow
0
Rails
Hi, I am using stimulus reflexes with AnyCable but in production, the site becomes really slow after spending 10-15 minutes on the same page doing multiple operations. But after refresh it works fi...
ahmadkamrans posted

How to quiet Delayed Job logs in development?
1
Rails
Rails 3.2.14 / Ruby 2.0.0 / Delayed Job 4.1.4 / Foreman
I'm running a worker with Delayed Job, starting the process with Foreman. It all works fine but my dev logs are full of Delayed Job SQL sta...

How do I remove associated records?
1
Rails
I have these associations.
Course
has_many :assignments, class_name: 'CourseManagement::Assignment'
has_many :students, through: :assignments, source: :student
Assignment:
belongs_to :course, cl...

How do I assign multiple user_id's to one work order record
0
Rails
i got a question ive been scratching my head for a few days on a solution to a problem. I currently have work order that we assign a single user to and im trying to figure out the best way to assig...
Austin Klenk posted

How do i use tom-select with stimulus and hotwire?
3
Rails
I'm using tom-select to either select from the options or create record in the modal. The problem happens when the form submits successfully and that newly created record is now have been selected ...
Archonic replied
Solved

Override CSS in Gem with CSS from app
0
Rails
Hi,
I'm working on a Rails Gem. The gem provides one view and a basic stylesheet for it.
When installed in an app, i'd like to be able to override the basic styles with other styles in the app it...
Neil Tonge posted

How do I include FontAwesome Pro in a Rails 7 project?
2
Rails
I own a license to FA Pro, and I want to use it in a new Rails 7 project. It doesn't look like I can do an importmap include of the pro font awesome, or if so, I'm doing it wrong. So I downloaded ...
ramzieus replied

Form not displaying errors
1
Rails
Here is my user.rb file
class User < ApplicationRecord
has_secure_password
validates :email, presence: true, format: { with: /\A[\w.+-]+@\w+\.\w+\z/, message: "must be a valid email add...
Ordin replied

Rendering simple_calendar content using Turbo Frames
2
Rails
Hi there,
It's a great pleasure to use this gem which is really handy ! I started using Turbo recently on my application and still had troubles wrapping my head around... Idea here is not only to ...
spacerobotTR replied

Creating an application Multi Language
3
Rails
Hi, good evening.
Cris, I would like to create a system which will suport many language. For instance, I would like to be able to access the languages using URL like:
https://www.mysite.com/us/
h...

Is there anyone who could offer advice or help with Generating a PDF Within the Program?
7
Rails
Hello, I am a college student working on a senior capstone that utilizes the use of Ruby on Rails. I am attempting to generate a PDF within the program, and I am stuck. Is there anyone who could of...

Video Hosting
1
Rails
What does GoRails use to host its private videos?
Chris Oliver replied

unicorn takes a long time to start up with capistrano
0
Rails
After ruby update from 2.7.5 to 3.1.2
I've run command cap production unicorn:stop then cap production unicorn:start
it's takes about 9 minutes to start
gem 'capistrano3-unicorn', '~> 0.2.1'
```...
Dmitry Kosikov posted

error starting new jumpstart app
1
Rails
Hi
I just created new rails app using free jumpstart template
https://github.com/excid3/jumpstart
I receive an error when starting the. project about missing build script
✘ myapp maste...
Randy replied

Handle ActionController::UnknownFormat in Devise::SessionsController#new
0
Rails
Hello, I'm new in rails and I facing this problem: After invite a new member the system generates an invitation link. This link invites to create an account, once the account is created the new mem...
Julio Benavides posted

Will_paginate problems
1
Rails
Hi ive been building a new web app based on michael hartl tutorial but im having problems with the will_paginate tests. When i load all my users it will display every one of them so of course ...