55,892 questions
0
votes
0
answers
18
views
Trouble Configuring AWS S3 and CloudFront with Camaleon CMS
I am trying to configure AWS S3 and CloudFront to work with Camaleon CMS and have encountered several issues.
Documentation and CORS Configuration: I initially tried to follow a tutorial given in the ...
0
votes
0
answers
10
views
Rails CKEdior toolbar not showing any icon
I have recently upgraded rails version from 4 to 6.1.7.8, my ckeditor version is 4.3.0, its deployed on Heroku.
now ckeditor toolbar is not showing icons.
ckeditor toolbar screenshot
I Inspected the ...
0
votes
0
answers
27
views
Why do I get an 'ActiveRecord::NoDatabaseError' with Ruby 3.2.2 and MySQL?
Let me start off by saying that I'm not very well versed in Ruby (or MySQL for that matter).
I'm trying to spin up Sharetribe Go, which is written in Ruby. So far, I've encountered some issues but ...
0
votes
0
answers
6
views
Updated sys canceled
updates cancled
atach
I attempted a system update, but it failed midway with an error code (specific code not mentioned). Now, my system is stuck on startup or a rollback. What are the best steps to ...
0
votes
0
answers
35
views
Timeout Issue When Publishing Messages to RabbitMQ Queue in Ruby on Rails Using Bunny Gem
I'm facing a timeout issue when attempting to publish messages to a RabbitMQ queue in my Ruby on Rails application. I'm using the Bunny gem for connection and message publishing. The connection to ...
0
votes
1
answer
29
views
How to query records by matching a parameter within the same record?
In my Rails application, I have a Project model with an associated Task model (Project has many tasks). Each Task has a field called parent_task_id that links it to a task from a previous version. ...
0
votes
1
answer
31
views
What could block carrierwave uploading to rails7 app on 'railsplayground' using passenger?
*** Updated and Closed ***
Turns out that I had to change the relative path in the uploader to the fully declared path for the server in which my app is running. Who would have thought?
*** closed *...
1
vote
0
answers
49
views
How to fix blocked because of a disallowed MIME type (“text/html”) in ruby on rails app(Render)? [duplicate]
**
I'm using hotwired/stimulus and importmap_tags for JavaScript in my Ruby on Rails app. In development, everything works fine, but after deploying to Render, my sales view and the product with ...
0
votes
1
answer
40
views
sidekiq concurrency with many threads
We use Sidekiq to process background jobs, such as this:
def process_order(id)
... do something
end
Sidekiq is set to 50-100 threads, so we've seen process_order run on the same id at the same time, ...
1
vote
1
answer
42
views
Prawn Gem - Print the textbox section dynamically after a table
I use prawn gem to generate a pdf file with tables and other sections. The text_box position are static and it is working as expected. Now I want the text_box below the table to be dynamic. Below is ...
0
votes
0
answers
41
views
Array of hash pattern matching in Ruby 3
I'm trying to implement pattern matching, comparing an array of hashes vs. another array of hashes. Each array can have 1 to 3 hashes.
If I have these arrays:
a = [{"name" => "Size&...
0
votes
1
answer
151
views
Issue with recaptcha site verify API SSL handshake
I have recaptcha used on my site on multiple places, signup & CSF. Till the 16th of July, all requests were normal and responded in quick time. But since 16th July we started experiencing delays ...
0
votes
0
answers
38
views
Can't activate jar-dependencies-0.3.10, already activated jar-dependencies-0.4.1
I'm getting this error.
can't activate jar-dependencies-0.3.10, already activated jar-dependencies-0.4.1
Please help me
My project has gem 'jar-dependencies', '0.4.1' but in my system it was ...
0
votes
0
answers
48
views
How to install bzip2-ruby in mac with ARM?
I am setting up a ruby project and using followings:
ruby:2.7.5
There's an error while installing the bzip2-ruby gem mentioned below:
current directory: /Users/ssingh/.rvm/gems/ruby-2.7.5/gems/bzip2-...
0
votes
2
answers
138
views
Is it possible to add custom data in meta in papertrail only in the 'create' event
has_paper_trail meta:{
object: 'custom_data'
}
this is my code need to have a condition where we add meta only in case of create
i tried this
has_paper_trail meta: {
object: ->{ ...