Tutorials

Rails 5.2 and Active Storage - the new approach to file uploads
Rails 5.2 stable version has just been released. One of its new features is a new built-in way for uploading files in your applications - ActiveStorage. That means you don't have to use third-party libraries like CarrierWave. Let's check out what ...





![[CVE-2019-15224] Version 1.6.13 published with malicious backdoor.](/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsiZGF0YSI6OTA2NiwicHVyIjoiYmxvYl9pZCJ9fQ==--791521058a26a15965c71aafc962724fba9f07bb/data.avif)
[CVE-2019-15224] Version 1.6.13 published with malicious backdoor.
On August 14, attackers published a series of rest-client versions from 1.6.10 to 1.6.13 using the credentials of a rest-client maintainer whose RubyGems.org account was compromised. The affected versions were downloaded a small number of times (~...

Durable Sidekiq jobs: how to maximize reliability of Sidekiq and Redis
Sidekiq is one of the most popular (if not the most popular one) background job framework in Ruby world, which is not a big surprise: it allows to achieve a decent throughput, is stable and well-maintained, has some great features (including also ...


Breaking apart inheritable mattr_accessors in HTTParty
We all know that Ruby provides you with sharp knives. Used with caution they give you great power, but misuse them and you will be remembered at your job long after.I like some of those, from outside they look like magic, but inside they often are...