Originally appeared on RailsCarma – Ruby on Rails Development Company specializing in Offshore Development.
Ruby, known for its elegant and develope...
Originally appeared on RailsCarma – Ruby on Rails Development Company specializing in Offshore Development.
Ruby, known for its elegant and developer-friendly syntax, handles comments in a somewhat unique way compared to many other programming languages. While single-line comments (starting with #) are ubiquitous and widely used, multiline (or block) comments have a dedicated syntax that many Ruby developers rarely touch in day-to-day work. This article dives deep into Ruby’s multiline comment system — how it works, why it’s designed this way, its quirks, best practices, common pitfalls, real-world use cases, and plenty of practical examples. We’ll cover both the official block comment syntax (=begin / =end) and the far more common idiom of using…
When I first encountered Ruby on Rails back in 2010, it changed my life in ways that are hard to put into words. Meeting a framework sounds like a small thing but back then, Rails showed me how qui...
When I first encountered Ruby on Rails back in 2010, it changed my life in ways that are hard to put into words. Meeting a framework sounds like a small thing but back then, Rails showed me how quickly I could bring my ideas to life. That realization made me
Originally appeared on Ruby News.A buffer overflow vulnerability exists in Zlib::GzipReader. This vulnerability has been assigned the CVE identifier CVE-2026-27820. We recommend upgrading the zlib ...
Originally appeared on Ruby News.A buffer overflow vulnerability exists in Zlib::GzipReader. This vulnerability has been assigned the CVE identifier CVE-2026-27820. We recommend upgrading the zlib gem.
Details
The zstream_buffer_ungets function prepends caller-provided bytes ahead of previously produced output but fails to guarantee the backing Ruby string has enough capacity before the memmove shifts the existing data. This can lead to memory corruption when the buffer length exceeds capacity.
Recommended action
We recommend to update the zlib gem to version 3.2.3 or later. In order to ensure compatibility with bundled version in older Ruby series, you may update as follows instead:
For Ruby 3.2 users: Update to…
We rebuilt a legacy Java app in Rails and evaluated five hosting options. Landed on Linode at $358/month — an 81% reduction from our old $1,925/month stack.
Get cost-effective cloud ...
We rebuilt a legacy Java app in Rails and evaluated five hosting options. Landed on Linode at $358/month — an 81% reduction from our old $1,925/month stack.
Get cost-effective cloud computing designed with the needs of developers in mind and save 50-70% compared to Big Tech.
American Cloud ensures migration is a breeze with experienced white-glove service. Unlike Big Tech, we don't trap customers in. Your freedom to choose will never be infringed.
Learn more about American Cloud →
Topics:
linode
cloud computing
hosting
american cloud
A lot of people were confused by Trump's immediate embrace of Saudi Arabia and the other Gulf states, but it makes a lot more sense when you consider that he thinks they spell it "Golf"