Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [ruby]

Ruby is a multi-platform open-source, dynamic object-oriented interpreted language. The [ruby] tag is for questions related to the Ruby language, including its syntax and its libraries. Ruby on Rails questions should be tagged with [ruby-on-rails].

0 votes
1 answer
35 views

Injecting dynamic values for a specific schema to validate against

I have the following yaml file that I would like to validate using dry-rb. --- environment: # required test: # should be dynamic service_credentials: "test_credentials" # required ...
Lorenzo B's user avatar
  • 33.4k
1 vote
1 answer
64 views

How to automatically derive foreign key column names with polymorphic associations?

In my Ruby on Rails 7 application I have a large Account model with various has_many associations (most of them are left out for brevity here): class Account < ApplicationRecord has_one :...
Tintin81's user avatar
  • 10.1k
0 votes
1 answer
32 views

xapian-full-1.2.3 not able to install succesffully

Application not starting after ubutu patch upgrade. /home/azureuser/app2/current fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent ...
user3715261's user avatar
-1 votes
0 answers
26 views

Implement prometheus and garafana for a ruby on rails application [closed]

I am looking for a help to implement prometheus and garafana in my rails app. I have tried using prometheus-client and yabeda-prometheus gem. I have also tried with prometheus-exporter gem but all in ...
Muhammad Ans's user avatar
0 votes
1 answer
98 views

Native file open dialog in Windows Ruby

As far as I understand, there are no gems which help to open native file dialogs, so I am interested in writing one, specifically for Windows I'm stuck at the first step which is getting the CLSID for ...
Zachary's user avatar
  • 65
0 votes
0 answers
75 views

Ruby (3.3.4) and Rails (7.1) - rails s Zeitwerk - uninitialized constant Utils::ScriptsUtils::Utils (NameError)

I am trying to update my ruby app from ruby 2.6.6 to ruby 3.3.4 and Rail 5.1 to Rails 7.1 I know it is not a good practice to do so, but in my case (which is a bit complicated) I felt I didn't have ...
bseido's user avatar
  • 19

15 30 50 per page
1
2