đşđŚ #â610 â June 30, 2022 |
Ruby Weekly |
Tenderlove Cooks Up a Nifty Garbage Collector Optimization â Esteemed core team member Aaron Patterson has come up with a way to speed up Rubyâs garbage collector through the way it marks up instruction sequence objects. This is a very technical PR, but the TLDR is it could make GC ~60% faster in a Rails app (donât get too excited, as this translates to a more modest perf improvement overall â but itâs still very cool!) It should end up in a Ruby version near you soon. Aaron 'tenderlove' Patterson |
Vite-lizing Rails: Get Live Reload and Hot Replacement with Vite Ruby â If you hang around in the JavaScript world, youâve probably heard about Vite, a sister project of Vue.js, and how it simplifies and speeds up the frontend dev experience. Vite Ruby brings the party to Ruby and this post explores its value in live reloading, hot replacement, and asset compilation. Vladimir Dementyev |
Donât Let Your Issue Tracker Be a Four-Letter Word â Frustrated with your project management software? Shortcut is a goldilocks solution for software engineers, product managers, and designers, providing the ease of use of a simple tool with the power and flexibility of an overly complex one. Shortcut (formerly Clubhouse.io) sponsor |
Shopify's Updated Ruby Style Guide â Shopify, perhaps the worldâs biggest Ruby shop nowadays (in both senses of the word!), maintains its own Ruby style guide inspired by Bozhidar Batsov and Rubocopâs even more extensive guide. Always good to see resources like this maintained, even if in baby steps. Shopify |
Where is Copilot Taking Us? â A founder of Redmonk (a developer-oriented research firm) ruminates on the effects of GitHub Copilot (the new AI-powered âpair programmerâ service), focusing on legality, security, and quality questions. Stephen O'Grady (Redmonk) |
Quick Bits:
|
đ Articles & Tutorials |
Write Cleaner, Self-Documented Tests by Defining Methods in RSpec â Put Caleb Hearth |
Four Ways to Reduce Your Rubocop Frustrations â Being considered one of Rubyâs most loved and most frustrating Ruby tools is quite the achievement, but this post (which also comes with an optional 11-minute screencast) wants to get it into your 'loved' column only. Hanami Mastery |
Fixed Price Monthly Code Maintenance for Rails Apps â No time to do those small but critical updates? If you are struggling to find time, budget or resources to improve your Rails App, there is a fixed price solution for tweaks, bug fixes, upgrades and improvements with CodeCare. reinteractive Pty Ltd sponsor |
An Underrated Rails Helper: Matt Swanson |
Full-Text Search with Elasticsearch in Rails â Elasticsearch is a popular option for adding a powerful full-text search layer on top of other databases (though it is effectively a document database in its own right). This post covers the essentials of working with it from a Rails app. Ianis Triandafilov |
Getting Started with Tailwind CSS in Rails â The basics of setting things up. Canât help but think Railwind could be a cute name. David Boureau |
Downsides to the Overuse of Rails Engines
|
đ Â Code & Tools |
GoodJob 3.0: Postgres-Backed ActiveJob Backend for Rails â Simple to use, multi-threaded, and includes a management dashboard, cron-like scheduling, and job concurrency controls. v3 promises to be an easy upgrade from v2, unless youâre using Rails 5.2 for which support is dropped, but it has a significantly improved dashboard (live demo). Ben Sheldon |
StoreModel 1.0: Handle JSON-Backed Attributes as Active Record Models â Rather than deal with JSON columns as hashes, you can treat them as mini models of their own. AttrJson is also worth a look in this space. Dmitry Tsepelev |
Meet Filestack: The Solution to Your File Processing Needs Filestack sponsor |
rspec-uuid 0.5: An RSpec Matcher for UUIDs â Daniel Pepper |
JRuby 9.3.6.0 Released â JRuby 9.3 is the Ruby 2.6.x compatible branch and this is a minor tweak/bugfix release. The Ruby 2.5.x compatible branch sees a similar release in the shape of JRuby 9.2.21.0. JRuby Core Team |
âĄď¸ QUICK RELEASES: redis-rb 4.7 â The Ruby client library for Redis. |
|