đșđŠ #â606 â June 2, 2022 |
Ruby Weekly |
Shale: An Object Mapper and Serializer for JSON, YAML and XML â A library for converting JSON, YAML and XML into Ruby data structures as well as heading back the opposite way. Itâs neat to have this all wrapped up into a single library and with schema support too. The examples here show it off nicely. GitHub repo. Kamil Giszczak |
To Thread or Not to Thread: An In-Depth Look at Rubyâs Execution Models â Jean lays down how Rails uses memory in both thread- and process-based contexts, which metrics are really useful, how to optimize Copy-on-Write, and what future changes will help. (Spoiler: Ractors is not our savior.) Jean Boussier (Shopify) |
A Complete DevOps Solution for Your Rails App â OpsCare is a DevOps solution for Rails apps. We give you 100% peace of mind Rails hosting and support. Built on our 12-factor stack, we provide deployment, scaling and monitoring tools, so you're in control, and we keep it performing, 24/7. OpsCare by reinteractive sponsor |
đ  The Success of Rails: Ensuring Growth for the Next 100 Years â A long-time Rails core team member and Shopify employee makes a compelling case for contributing to Rails from both individual and company contexts. The Rails evolution is unparalleled in software and its future is still bright. Note that this is just a slidedeck but goes into depth on how the team works, how to submit a PR, and similar practical concerns. Eileen Uchitelle |
Quick Bits:
|
|
đ Articles & Tutorials |
â¶Â  How I 100x'd Bulk Import Speed in Rails with Some Gnarly SQL â A deep explanation of improving bulk import performance on a large-scale Rails app to less than 1% of the original processing time. Digs into lots of Rails API areas and Postgres features too. Itâs long but a detailed look behind the scenes of a tricky task. Thereâs a codebase provided you could use as an exercise with your own team too. Ryan Townsend |
Avoid Test Delays and Speed Up Your Dev Cycle by Mocking Callbacks â It takes more work to mock a method that has a callback block than one without, but itâs worth it, says Caleb. Caleb Hearth |
Using Hotwire with Rails âĄđ â Hotwire is a way to build modern web applications without much JavaScript. Hereâs a quick intro on how to use it. Honeybadger sponsor |
How Cookpad Improved Its Rails Appâs Performance with Conditional GET Requests â As with most caching stories, the payoff is significant but the gotchas (cache invalidation is famously hard) are real, so tread carefully into these caching waters. Gavin Morrice |
â¶Â  How to Build a Calculator with Hotwire and No JavaScript â Quick 5 minute screencast showing an interesting use of Hotwire for when you really want the server in the loop (or you just want to avoid writing JavaScript!) Cezar Halmagean |
Event Streaming in Rails with Kafka â Getting started with Kafka can be daunting, but this post will show you how easy it is to get a dev environment up so you can have a robust, isolated, flexible architecture. David Sanchez (Honeybadger) |
A Story About Test Coverage Metrics â A simple reminder that test coverage doesnât equal good coverage of the problem space. Sandro Duarte and Mauricio Menegaz |
Why DSLs Are a Necessary Part of Learning Rails Testing
|
đ Â Code & Tools |
MITIE: Named-Entity Recognition for Ruby â For example, given a sentence like âPat met Kelly at Walmartâ, this library tags Pat and Kelly as âPERSONâ and Walmart as âLOCATIONâ. Be aware the models it relies upon are quite large and must be downloaded separately, but links are provided to models in English, Spanish and German. Andrew Kane |
Rouge 3.29.0: A Pure-Ruby, Pygments-Compatible Code Highlighter â This weekâs release adds support for Idris, Lean, Syzlang and Syzprog. Ruby 3.1 is now also part of their CI. rouge-ruby |
Ruby Transactional Notification Management System Saves Time and Money Courier sponsor |
Paramoid: A New monade |
Render API 0.1: A Ruby Interface for Render.com's API â Render is one of a new(ish) generation of hosting platforms/Heroku replacements. Pat Allan |
Forme 2.1: HTML Form Generation Library â A structured way to create HTML forms with no external dependencies and a simple API. Jeremy Evans |
Koala 3.2: A Ruby Library for Facebook's Graph, Marketing, Atlas, and Other APIs â If you need to work with Facebook in some way.. Alex Koppel |
Sunspot: Solr-Powered Search for Ruby Objects â âProvides a simple, intuitive, expressive DSL backed by powerful features for indexing objects and searching for them.â
|
postgres-copy: Simple Postgres |
Workflow 3.0: Finite State Machine-Inspired API for Modelling Workflows
|