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

Select cover image from ActionText attachments

0
Rails
I wanted to add a “cover image” feature to a blog. I’m already using ActionText for the content. I’m not sure if this is a good idea or if there are better ways to do it. I’m going to explain what...
gorka posted

I'm trying to make a nested form but for some reason, I got problems with the strong params, Any help, please?

0
Rails
I'm getting this error (i think that is for the strong params) here is how it looks all the stuff https://imgur.com/a/Nf8Ba61, if anyone could help me, would be awesome :D
Sebastian Guevara posted

Why is this image_tag not working?

2
Rails
If I try and put this code: ``` <% if notification.actor.avatar.attached? %> <%= image_tag notification.actor.avatar.variant(combine_options: {resize: '150x150^', extent: '150x150', ...
Aproplat replied
Solved

Want to stay up-to-date with Ruby on Rails?

Join 89,968+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.