Ruby 2.7 Adding Numbered Parameter Support?— An interesting feature here that lets you reference a parameter numerically, i.e. @1 for the first or @2 for the second. This is generating a fair bit of debate in the Rubysphere with even Matz being a little unsure. Here’s the commit that enables it in head. Brandon Weaver |
What Causes Ruby Memory Bloat?— Some say fragmentation by Ruby or the memory allocator, but what is really going on and is there some way to trim Ruby’s memory usage? Hongli Lai |
Hongli's article provoked some interesting responses: |
![]() Redis Made Observable— RedisGreen provides better tools, instrumentation and support for high-performance Redis. RedisGreen sponsor |
Jekyll 4.0 Alpha 1 Released— It’s early days for the next major version of the popular static site generator (which is heavily used well beyond the Ruby world). Breaking changes include dropping Ruby 2.3, as well as removing Pygments, rdiscount, and RedCarpet support (some truly classic Ruby gems!) Jekyll |
An Unusual RSpec Time Issue— An investigation into why a test was failing only 30 minutes per day and, to our surprise, it wasn’t because of timezones. Daniel Vandersluis |
Testing Rails Migrations— If you’re really dedicated to that 100% test coverage, you better start testing those migrations! But is it useful to do so? Hard to say. Alberto Vena |
In Defense of YAML— YAML is a particularly popular markup language in the Ruby space, especially for config settings such as in Rails. It’s faced a lot of criticisms in recent years but it’s not entirely fair. Rod Johnson |
Ruby 2.5.5 Released— Includes a bug fix for a deadlock issue in multi-process Process.fork -based apps. (Note: 2.6.2 remains the latest Ruby version.) ruby-lang |
|