We are trying to implement the verification of the new EU corona virus test/vaccination certificates, but can't get the base45 decoding working. Specification i
When I try to build vim(8.1.0509) with ruby support(--enable-rubyinterp) on macOS Mojave(10.14.1) I get error: In file included from /System/Library/Frameworks/
Let's say I have a function foo: def foo(A, B, C) A + B + C end And I call it like this, with only the last parameter changing: foo("foo", "bar", "123") foo("
How can the balance on a connected account be retreieved? (e.g. a connected account is like the 'host' in the Airbnb example). I checked the balances docs, and
I have a method but doesn't have a parameter, for example def goodbye puts "" puts "Thank you, #{name} for using our service." puts "Good luck with
I've experienced an odd interface glitch. [44, 53] in /document.rb 44: code 45: code 46: 47: def code 48: byebug => 49:
I've been trying to install cocoapods and I managed to do that but now I'm getting this issue.I've gone through home-brew to install the latest version of ruby
I downloaded asdf the other day and am trying to use it with a ruby on rails project I downloaded from Github. When I run asdf install, I get this response: fir
I am getting stack level too deep (SystemStackError) error when trying to make Read: List messages matching filter criteria API call for Twilio in Selenium/Cucu
I am using VisualStudioCode with Ruby and Rubocop. After installation of Rubocop i found out i must change some of the settings in settings.json for Rubocop. Ho
I have try to run my ruby server and I got this error : [Webpacker] Compiling... [Webpacker] Compilation failed: /var/lib/gems/2.7.0/gems/webpacker-5.2.1/lib/we
Possible Duplicate:What does map(&:name) mean in Ruby? I came across a code snippet which had the following a.each_slice(2).map(
class MyClass def mymethod MYCONSTANT = "blah" end end gives me the error: SyntaxError: dynamic constant assignment error Why is this considered
I have a legacy database where I have two models as: class Purchase belongs_to :product end class Product has_many :purchases end Now over time some of
I have this method: def current_organization return @current_organization if defined?(@current_organization) subdomain = request.subdomain.to_s r
This is interesting. For some reason my request to the Amazon SP-API is perfect EXCEPT for this last bit. @string_to_sign= "AWS4-HMAC-SHA256\n" + "20220512
I am making a shopping cart for a web app. So far it has 3 components: 'products', 'line_items' and 'carts'. The flow seems to be okay. I am getting all the
I am trying to find way to get data from a has_and_belongs_to_many association through a secondary model. I'll say sorry now as I might not explain this right,
I'm using the Microsoft identity platform and OAuth 2.0 authorization code flow to authorize user information from Microsoft Azure. In my Ruby code I parse the
I am trying to connect to my database through mysql2 in ruby with the following: client = Mysql2::Client.new(:host => host, :username => username, :passw