Posted inRails Ruby Thread NameError: undefined method ‘parse’ for class ‘NilClass’ when doing Time.zone.parse Posted by Ubuntu Server Admin August 2, 2020If you get following error when trying to parse time: Time.zone.parse('2019-01-01 11:11:11') Traceback (most recent…
Posted inapache kafka kafka Karafka Karafka framework 1.3.0 Release Notes (Ruby + Kafka) Posted by Ubuntu Server Admin August 2, 2020Note: These release notes cover only the major changes. To learn about various bug fixes…
Posted inRuby Ruby 2.7 Ruby 3 Ruby 3 gathering/hack challenge summary Posted by Ubuntu Server Admin August 2, 2020Many of you may not be aware, but Ruby 3 is not only a distant,…
Posted inEducation Ruby rubygems How to take over a Ruby gem and what to do with it / RubyKaigi 2019 presentation Posted by Ubuntu Server Admin August 2, 2020Using Ruby gems is safe, right? We’re a nice community of friendly beings that act…
Posted inauthentication http basic auth Rails Ruby on Rails HTTP Basic authentication with JSON failure message Posted by Ubuntu Server Admin August 2, 2020A short snippet on how to make Ruby on Rails authenticate_or_request_with_http_basic respond with a JSON…
Posted inbug faraday HTTP Exploring a critical Net::Protocol issue in Ruby 2.6.0p0 and how it can lead to a security problem Posted by Ubuntu Server Admin August 2, 2020TL;DR This bug has been fixed in 2.6.1. Please upgrade and all should be good.…
Posted indry-rb dry-validation Ruby Simplifying internal validations using Dry-Validation Posted by Ubuntu Server Admin August 2, 2020When building APIs for other developers, it’s often important to draw the line between other…