Thomas Witt
Thomas Witt
``` >> c=ISO3166::Country[:US] >> c.translation('de') => "Vereinigte Staaten" >> c.continent => "North America" >> c.continent.translation('de') (irb):43:in `': undefined method `translation' for "North America":String (NoMethodError) ``` Am I doing something wrong...
Let's say I've got two simple models: ```ruby class Company include Dynamoid::Document table name: :company, key: :name, capacity_mode: :on_demand range :metadata has_many :reports end ``` ```ruby class Report include Dynamoid::Document...
#### Required Information - DietPi version | 8.22.3 - Distro version | bookworm 0 - Kernel version | Linux MyPi 6.1.21-v8+ # 1642 SMP PREEMPT Mon Apr 3 17:24:16 BST...
~/.rbenv/versions/3.2.0/lib/ruby/gems/3.2.0/gems/haml-3.1.8/lib/haml/version.rb:78:in `revision_number': undefined method `exists?' for File:Class (NoMethodError) haml is outdated, should be updated.
Mentioned at https://support.google.com/mail/answer/9350995?hl=en (under bundles) or on several tips on reddit.
Hi everybody, I have a strange thing, gf works fine for me e.g. when in a Controller, it jumps to the model, when I have a partial, it jumps to...
``` ~/.rbenv/versions/3.3.1/lib/ruby/3.3.0/rubygems/specification.rb:2317:in `raise_if_conflicts': Unable to activate pdftoimage-0.2.0, because shellwords-0.2.0 conflicts with shellwords (~> 0.1.0) (Gem::ConflictError) ``` I see that this is already fixed in https://github.com/robflynn/pdftoimage/commit/3accb591b75668645fb0a051b58fa2a1d9f84752, but with a fresh gem...
Wanted to try the gem and installed it, then calling it straight from irb, getting the following error: ``` thomas@Mac:~/Dev/misc/ $ ruby -v ruby 3.3.1 (2024-04-23 revision c56cd86388) [arm64-darwin23] thomas@Mac:~/Dev/misc/...
The following dates do parse incorrectly or not at all: ``` >> Chronic.parse "Feb15 24" => 2024-05-20 00:00:00 +0300 >> Chronic.parse "Feb15'24" => nil ``` whereas ``` >> Chronic.parse "Feb...
@printercu I am trying since a while to write a working rspec test for an incoming voice message: ``` it "processes the voice message" do dispatch_message(nil, { "voice" => {...