#711 — July 11, 2024 |
|
Ruby Weekly |
Finding Memory Leaks in the Ruby Ecosystem — ruby_memcheck is a tool that uses Valgrind to dig into, and debug, memory issues in native Ruby gems, an area that has historically been quite hard to work in. Peter looks at an improvement made to Ruby to track memory leaks and how you can use it. Peter Zhu |
💡 While native gems will always be necessary, Sidekiq's Mike Perham stresses why we should minimize our use of them whenever possible and says he won't let Sidekiq use them at all. |
Simple, Fast Data Analytics with Postgres + DuckDB — Fast queries of Iceberg, Parquet, CSV, or JSON in S3. A simple and powerful query engine for metrics, logs, IoT data and more right where your data lives. Full access to Postgres tools and resources. Backed by the Postgres team at Crunchy Data. Crunchy Bridge for Analytics sponsor |
▶ 43 Talks from RailsConf 2024 — What a treat! If you couldn’t get to Detroit for RailsConf in May, now you can enjoy the talks in your own time. Dig into Rails test profiling, crafting Rails plugins, JavaScript testing for Rails devs, SQLite on Rails, accessibility, and much more besides. Ruby Central |
Ruby 3.3.4 Released — A minor release of the latest Ruby branch that fixes a regression introduced in Ruby 3.3.3 involving missing dependencies in some bundled gems. Takashi notes, however, that if Takashi Kokubun |
IN BRIEF:
|
📄 Articles & Tutorials |
How to Add Feature Flags to Rails Apps — Feature flags are a useful mechanism for changing the behavior of your app at runtime by turning features on and off, whether for all users or a subset. Julian summarizes the concept and shares some Rails-focused options. Julian Rubisch |
Notes on Migrating from Carrierwave to Active Storage — CarrierWave is a very long standing file upload solution for Rack-based apps, but Ben wanted to try going official with Rails’ Active Storage. Ben Sheldon |
🎬 Debugging a Slow Rails Controller with Honeybadger Insights — Watch Honeybadger co-founder Ben Curtis as he uses Honeybadger Insights to troubleshoot a slow controller action in Rails. Honeybadger.io sponsor |
Misuing Rails' Justin Searls |
📄 How to Use Turbo in Your Rails Apps with RubyMine Darya Sharkova (JetBrains) 📄 Upgrading from Solidus 2 to Solidus 3 – Solidus is a Rails powered e-commerce system that forked from Spree years ago. Madeline Collier 📄 Instantiate a Custom Rails Form Builder Without |
🛠 Code & Tools |
Todo MVC Implemented in Ruby with Glimmer DSL for Web — A fantastic example of the potential of Ruby on the frontend with the popular Todo MVC example app implemented in Ruby, rather than JavaScript. Andy Maleh |
🐦 Sticking to unusual Ruby use cases, how about Flappy Bird as a Rails app? |
reinteractive::Custom AI Integrations with RoR — Struggling with AI integration in Rails? Tell us your project - we'll show you how. Book a meeting. reinteractive::Custom AI integrations sponsor |
SearchFlip 3.9: Full-Featured Elasticsearch Client with Chainable DSL — If you want to use Elasticsearch’s powerful full text search features from Ruby, here’s a nice API for it. Benjamin Vetter |
MiniMagick 5.0: A Mini Replacement for RMagick — For when you don’t need the full power of RMagick and just need ImageMagick’s features for resizing, rotating, converting, etc. We linked this recently, but v5.0 has landed with some nice API improvements. Corey Johnson |
Versionaire 13.5: An Immutable Semantic Version Type — If you’re working with version numbers, this class provides a lot of neat abstractions (for comparisons, type conversions, equality, etc.) Brooke Kuhlmann |
|
|