I am having a problem while running bundle exec rspec spec/services/abc_service_spec.rb --format documentation The output of it, is not in the same order as th
When saving changes to a model in rails, two popular gems to track changes are paper_trail and audited. These gems create records that contain versioning inform
I am trying to write some rspec tests and I want to mock a static method from a module. The setup is like this: module MyModule def self.my_method 'end' en
My question is how do i get vimspector running with a ruby on rails app running passenger (I think) I'm trying to set up vimspector with some ruby on rails proj
I'm unable to replicate this locally, but for some reason I am getting the following error when running tests in CircleCi: <Double Mylogger> was originall
I have tried upgrading my Rails app from 6.1 to 7 and after running bundle app:update I get the following error: rails aborted! NameError: uninitialized constan
My code: div.form-group.col-md-12 label =t('.password') = f.text_field :password, required: true,
I'm trying to create an api to get a model's original image and other variants. Right now I'm not storing attachments on external storage, but I plan to save th
I'm working on a project with I use ActionCable, at the moment I'm learning about acts_as_tenant gem. I implement it in the project, but my WebSockets don't wor
Production environment: ubuntu 22.04 Puma is NOT installed as a system service Development Environment: Mac OS Rails app: Rails 7 Ruby 3.1 tailwind puma gem i
I'm trying to set a route that accepts a dynamic field. Restaurants have categories [:chinese, :fast_food, :french, :vegan] and the route restaurants/vegan allo
I need to display flash in the same view (:edit) after successfully updating an object. If I redirect to another action - everything works correctly. But when I
<a href="/"> <i class="material-icons">file_download</i> Export to CSV </a> I am using a material_icon gem. "file_download" is a do
I was wondering if there is anything wrong about updating the updated_at attribute of a record through a db trigger in terms of fragment caching (i.e. the parti
I'm new to Rails and following the Ruby on Rails tutorial by Michael Hartl(Japanese ver ed.6), and trying to Deploy on Heroku with image uploading feature using
Hi I started using hotwire in rails app (currently I am working on adding comments) and I found that partials used for turbo streaming are free of global refere
Apologies if it's a duplicate question. Asking this as I haven't got any solution yet. Trying to run rails application in Rubymine. I have setup the configurati
Please help me finding the solution sort by based on priority Im not getting the solution priority based on: 1st pick earliest slot 2nd max rating 3rd cronofy_e
I'm trying to seed some data using an external trivia API. Here's what I have in my seeds.rb file where HTTParty is a gem that parses JSON into a ruby hash: res
I ran the command rail new friends After a couple of minutes I get the following error Installing bootsnap 1.11.1 with native extensions Bundle complete! 15 Gem