Skip to main content
0 votes
0 answers
43 views

With the following code: require 'nokogiri' class MyDocument < Nokogiri::XML::SAX::Document def start_element_namespace(name, attrs = [], prefix = nil, uri = nil, ns = []) a = attrs.map ...
jean marc's user avatar
3 votes
0 answers
56 views

I've upgraded Ruby from Ruby 3.1.7 to Ruby 3.2.8; after that, I've encountered a situation where my ruby bundle works for the first deployment on Heroku-deployed servers, but all subsequent ...
G987's user avatar
  • 51
1 vote
1 answer
86 views

I have the following Unix timestamp: time = Time.at(-8_640_000_000_000) # => -271821-04-19 19:00:00 -0500 time.strftime('%B %-d, %Y at %-I:%M %p') # => "April 19, -271821 at 7:00 PM" ...
Droid's user avatar
  • 67
Advice
0 votes
5 replies
48 views

My question could apply to many other ruby frameworks I guess. But here I have the case while programming a Jekyll project. Let's see this Jekyll plugin as an example: require 'dotenv' module Jekyll ...
Quentin's user avatar
  • 1,173
-3 votes
0 answers
46 views

I'm looking at the characters in this pdf: https://www.unicode.org/charts/PDF/U1D100.pdf For example, the treble clef symbol which has a unicode value of '1D120' In ruby 1.8.7, how would i convert ...
Max Williams's user avatar
  • 33.1k