I'd like to transmit a MIDI message from an USB Midi Device, where the MIDI data is captured via Ruby/libusb, to Pure Data by using OSC. The reason why I need t
I'm renewing a small library app and my search filter (pg_search) doesn't work with a model that is referenced with another (in this case, model Book as User re
I am having an issue with when I run rails s. I am working on a legacy application and attempting to upgrade to the latest versions of rails and ruby. Current a
I have a problem I can't get around with vagrant provisioning. I have a file that has backslashes in it that I need to remove but Vagrant (Ruby?) just won't do
module Mutations class BaseMutation < GraphQL::Schema::Mutation null false # <---- what is this? end end In a lot of classes, I see this function
Even when trying to define Hadamard matrix in Ruby by using rational numbers (which helps us sometimes to keep good precision) the result is that Hadamard matri
rather than using the brew through the command line, i would like to use its api in ruby. for instance, rather than executing brew info --json wget in the comma
I'm new to Rails & Ruby in general. I was following this guide and got stuck on step 6.3. my bin/rails console result in error below /home/gaura/.local/shar
I get this openssl error when trying to install/update any gem, although I have openSSL installed through brew install openssl. This can be frustrating but ther
I'm having issues creating Ad Creatives using: gem 'facebookbusiness' Facebook API version 13.0 I have successfully managed to upload Ad Images and to get the
I have a parent class that looks like this: class Record attr_accessor :id, :url, :votes, :title, :first_name, :last_name, :selfdb def initialize(args
I have 2 DateTimes and I want to check if they're roughly 24 hours apart, plus or minus a small amount, say 5 minutes. Is there a built in way to do this?
I've been struggling to find how to do this. I have some tty-prompt gem to receive inputs from user and need to do rspec testing. But here I'm showing the simpl
account = Account.find(params[:account_id]) account_to_receive = Account.where(number_account: transaction.account_to_transfer) So I am building a bank app I wo
with a recent upgrade to rails 7.0.2 from rails 5.2, when ever i start a rails console or a rails server on dev mode i see these warnings /Users/opensource/.rvm
I wonder if anyone can help, and if the issue is specific to Last.fm (perhaps not the greatest of APIs). I've built an album search feature into my app that tak
This is the Post Model class Post < ApplicationRecord mount_uploader :image, ImageUploader scope :active, -> { where active: true } end This is
I have a string that is equal to stringnum. stringnum = "0007001369920090687073" I need to use regex to grab the first 9 digits after the first 3 zeros. I am u
I'm unable to generate/view the image from a remote URL while generating the Mobi. Whereas it works for asciidoctor when converting adoc to HTML Code look some
I know this topic has been addressed, but I have been at this for 2 days and I'm just stuck. I know inverse of does not create a new query, so should I use anot