python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Rails 7 Delayed Job invoking an engines rake task causes Application has already been initialized
How to correctly invoke a rake task? In an engine I have a rake task and a delayed_job_active_record job. The task will run perfectly in any environment independently of the delayed_job_active_record ...

jamesc
Votes: 0
Answers: 0
ArgumentError when rending view in rake task
I have a rake task which is run on deploy to generate the service_worker.js file. There's a ServiceWorkerController for that purose:
app/controllers/service_worker_controller.rb
class ServiceWorkerCon...
svoop
Votes: 0
Answers: 0
Ruby on Rail running apache show index of when accessing the site
I have recently updated to Apache 2.4, and I am using Ruby on Rail to run my application. Following the upgrade, the site shows a content as seen in the image below, and the error on the log file show...
user5576922
Votes: 0
Answers: 2
n Rails 6, what's the proper way to add a decimal column to a table via a migration?
I just upgraded to Rails 6.1.4.4 and a migration that previously passed in Rails 4 fails in the new set up. It is
class AddLatLngToStores < ActiveRecord::Migration[4.2]
def change
add_column...
Dave
Votes: 0
Answers: 1