37signals Open Sources Thruster— First seen in Campfire, Thruster is a minimal HTTP/2 proxy for production Rails deployments – it runs alongside Puma and offers HTTP/2, Caching, SSL via LetsEncrypt, and static file serving with compression, filling a similar role to Traefik or Caddy (like them, it’s written in Go). 37signals |
IRB 1.12.0 Released— One advantage to various parts of Ruby being turned into separate gems is you can upgrade them without upgrading Ruby itself, and IRB is certainly worth upgrading frequently. v1.12 introduces enhancements to the help command and IRB can now load .irbrc from multiple locations, such as from ~/.irbrc as well as project specific .irbrc s. Stan Lo |
Let's Build a Hanami App— Hanami is a popular option among Ruby web frameworks lately, and it takes a very different approach, offering less convention and more modularity. Aestimo Kirina (Honeybadger) |
What Does the Frozen String Literal Comment Do?— That is: # frozen_string_literal: true , as introduced in Ruby 2.3. Frozen strings not only prevent unintended modifications, but reduce garbage collection overhead by eliminating unnecessary memory allocations. Akshay Khot |
Weird Ruby: Double Aliased Enumerable Methods— Ruby is big on aliasing methods as a way to make code easier to read and Enumerable methods are commonly aliased. Can you think of the method that has three aliases? Bozhidar Batsov |
Using dry-validation with Grape— Grape is an API-only web framework for Ruby and validating incoming requests can turn your Grape into a nice, dry-validation vintage that goes well with just about everything. Dmitry Gutov |
Free Auth for 1 Million MAUs— WorkOS provides easy-to-use APIs for authentication, user identity, and complex enterprise features like SSO and SCIM. WorkOS sponsor |
|