This chart doesnt show me all the cases for all the years, it just show me the cases in the last year 2023. How can I display all the cases for all th ...
This chart doesnt show me all the cases for all the years, it just show me the cases in the last year 2023. How can I display all the cases for all th ...
I have a has_many_through association where Users have many Projects through ProjectUsers. Rails has some magic that allows updating this relationship ...
This question relates to a Rails API-only application using Searchkick (with Opensearch) and PostgreSQL. Some results are taking a long time to render ...
Context : Rails 6 app hosted in Docker, using docker-compose When the Rails container starts, I get : Mysql2::Error::ConnectionError: Access denied ...
I am trying to setup OpenProject which is a rails application,on a remote machine via ssh. However on trying the above command the machine gets stuck ...
I'm rather confused by https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html#class-ActiveRecord::FixtureSet-label-Label+references+for+asso ...
Creating In-Place-Editing of a single attribute of a model using Turbo Frames (not using a gem such as Best_In_Place as it requires jQuery and is not ...
I've got a problem with Factory bot and logging in as a designated user. I'm trying to run a simple Edit test in rspec. Here it is: And here is my ...
I am integrating Xero API into my ruby on rails application, however when trying to get a Token Set I am getting the below error: Please see the co ...
Assuming a shared method like: what kind of a minitest should be written? Naturally, one could test the method that calls this method, but that sor ...
On a Rails (5.2) app with PostgreSQL I have 2 tables: Item and ItemPrice where an item has many item_prices. Table Item id na ...
I am looking for a gem so that the user can crop it when choosing a photo. The user clicks on "upload photo" and then when he selects his photo, a fo ...
I have a string str = "race_1: 650m, 215m, 265m, 315m\r\nrace_2: 165m, 215m, 265m, 315m." Expected result: I wanted to split this in a hash like thi ...
I recently updated my app, from doorkeeper 5.3.3 to 5.4.0 but changes to Doorkeeper::AccessToken.find_or_create_for were made apparently, but I can't ...
I'm trying to short poll an external API which doesn't support websockets, so I need to constantly make API requests every few seconds or maybe multip ...
I have three tables: Staff Staff_locations Locations Business case: Staff can work in multiple locations. Association between Staff and Loc ...
How can I design a database for storing custom integrations for each client in an application where different clients can have integrations with diffe ...
I am trying to render a pdf with wicked pdf in my action. This works fine for html format, but gives me Installed gem 'wicked_pdf' and 'wkhtmlto ...
I have uploaded an image with active storage in rails and attached it to a model but am stuck with how i an display it with the rest of the data. Am u ...
If I want to create a stub using rspec, I'd typically do this: allow(my_object).to receive(:my_method).and_return("something else") The JSON respons ...