Persistent audio via stimulus change audio on click
0
Rails
Hi, I have set up Plyr with stimulus and I have also got the sessions working with application.html.erb so I can have the player on every page in the app via the id params thanks to help here on Re...
How i can add delivery method with slack?
0
Rails
I cant find any tutorial on how to use noticed gem with slack, can anyone please explain for are the steps for slack integration with his gem I'm new to rails and find it hard to integrate this wit...
Searchkick and Anycable-rails hangs server
1
Rails
Hello! I have an issue in my app that I just cannot solve.. I have been using Anycable in production for a year now and it have worked great. Then I added Searchkick to improve the search experienc...
Marcus S replied
Is there an admin like Django or Laravel's Nova
3
Rails
Newbie to Ruby / RoR - got into Django since 2 yrs and started learning Laravel - one thing I want to know before I delve into it, is if RoR provides a backend admin like Django or an external pack...
claudiastuart replied
Solved
Appdynamic with Ruby on Rails
0
Rails
Hello,
I have to configured appdynamic with ruby on rails, I have added gem "gem ‘appdynamics’ " in gemfile, also created appdynamics.yml file with following details:
app_name: “My app name” tier...
Ashish Roe posted
How to prevent Turbo from striping params from form URL
0
Rails
After Turbo upgrade:
I have a form that is sending a GET request with the following URL /some-url?param1="hello"
When the form is submitted param1 is being striped out so it's not being sent. The...
Denis Omerovic posted
Upgrading From Rails 2.0.2 to Current Version
0
Rails
Coming back to Rails after a long time and happy to have found GoRails. Have the fundamental constructs around activerecord and actioncontroller changed? Any suggestions on best approach to migra...
Admin posted
Using Active Storage to upload images not working.
0
Rails
Hey guys,
I could really use your assistance with my current app. I decided to add the active storage feature and followed the guide on how to set it up. I did a practice project first to test the...
Shan Siddiqui posted
2factor Auth best practice, Please help
0
Rails
Thank you, Chris. I have watched the Gorails 2factor Auth tutorial. I have a couple of questions that leave me with a few questions.
- I imagine a scenario where a person has left their laptop open...
chigreen posted
Heroku and Schedule Jobs
0
Rails
Hello!
I'm implementing a new feature in my app that e-mailing all users every first day of the month. My app is running in Heroku.
My question is: what is the best way to achieve this feature?
W...
Matheus Leite posted
Validation error not showing up in browser
0
Rails
articles controller
class ArticlesController < ApplicationController
def show
@article = Article.find(params[:id])
end
def index
@articles = Article.all
end
...
kartik362 posted
How to use route.db or how to debug
2
Rails
In Apache logs:
GET https://xxxxxxxxxx.com/ HTTP/1.1" 404 1722
in routes.rb
root "crm#index"
rails routes|grep root
root GET / ...
namanh-dot replied
How do I create an input field for a polymorphic association?
7
Rails
For the sake of this question, lets assume I run a hotel and I want to make a system that manages the bookings of my hotel rooms.
While most of the time I book `Guests` in my hotel rooms, `Employe...
Solved
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