- Short Ruby Newsletter
- Posts
- Short Ruby News - Edition #106
Short Ruby News - Edition #106
The one about Rails performance benchmarks, new Array#fetch_values method and Rails launched an official video series with tips and best practices.
The newsletter won't be sent for the next two Mondays. I'll be at EuRuKo (talk and workshop) and Friendly.rb (co-organizer) next week. I'll migrate the newsletter to Beehiiv for a better layout during this time. As a subscriber, you should not be affected.
You can jump directly to a section:
π All about Code and Ruby: π» Code, πCode Design,π‘Around, β€οΈ Why Choose Ruby
π§° Gems, Libraries, and Updates: π New, π§° Updates
More content: π π π§ π₯ βπΎ (articles, podcasts, videos, newsletters)
[Partner β¬] SupeRails.com
Visit SupeRails.com
π Hi friends, Yaro here!After nearly 4 years and 200+ free videos on the SupeRails YouTube channel, Iβm excited to launch SupeRails.com! πWith a PRO subscription, youβll unlock exclusive content focused on real-world business solutions in Ruby on Rails.Hereβs whatβs included:π PRO episodes & full source code accessπ SupeRails.com source code accessβ³ Early access to new contentπ¬ Suggest screencast topicsπ« No ads with a custom playerYour support helps me continue creating top-tier Ruby on Rails tutorials. πVisit SupeRails.com and join the community today! π
π Launches and discounts
π Ruby On Rails launched a new series of videos about tips and best practices for Rails β Rails in Focus
Source: @rails
π Alexandre Ruban (pre)launched The New Authentication Generator:
π Events
π Friendly.Rb shared an update about speakers, tickets and outdoor activities. Read the full thread here
Source: @friendlyrb
π Ahmed Nadar announced AppSignalβs Guide to Toronto
Source: @friendlyrb
π All about Code and Ruby
π Takashi Kokubun shared Ruby 3.3.5 Released. Read the release notes here.
π Charles Oliver Nutter published an article describing whatβs next for JRuby:
π David Heinemeier Hansson announced that Solid Cache and Solid Queue are set as default for Rails 8:
π» Code Samples
οΈοΈπ» Xavier Noria shared about Ruby not having a syntax for types:
οΈπ» Kevin Newton shared about Ruby grammar:
οΈπ» Matt Swanson shared a code sample about implementing rate limiting in Rails 7.2:
π» Remi Mercier shared a code sample showing how they implemented chainable scopes:
οΈπ» Igor Alexandrov shared a simple quiz about Ruby false values:
I suspect you already know the answer, but if you need to see it, it is here or directly in the Ruby documentation
οΈπ» Vincent Rolea shared how they built dialogs:
οΈπ» Ruby Cademy shared how they implemented an OOP-style contract interface:
οΈπ» Fabian shared about manually associate records in Rails:
οΈπ» Ruby Cademy shared about using Array#none:
οΈπ» Greg Molnar shared a code sample about creating a new rails app from main:
οΈπ» Alazycoder shared about a rake task to check migrations:
οΈπ» Andrea Fomera shared a code sample about organizing Rails routes:
οΈπ» Joel Drapper shared they build only for documentation purposes a mini-version of Phlex:
οΈπ» Seth Horsley shared a code sample about using defined? to check for a dependency:
οΈ π» Jean Boussier shared a thread about hash access:
οΈπ» Ruby Cademy shared about using Active Record connection_pool.stat
οΈπ» Ross Kaffenberger shared a code sample about mixing Phlex with ERB:
οΈπ» Ruby Cademy shared about using Rails extract_options! method:
οΈπ» Josef Strzibny shared a code sample about using EXPLAIN ANALYZE from Rails:
οΈπ» Oli Nelson shared a code sample about using Sinatra to server static web server:
π Thinking about Code Design
οΈπ Jorge Manrubia shared about system tests and running CI locally:
οΈπ Igor Alexandrov recommended using annotate_models gem to make it simpler for AI to understand Rails models:
οΈοΈπ Nate Berkopec shared about connection pool size:
οΈπ Jess Brown asked about morphing and scroll preserve:
Konnor Rogers shared a possible solution:
οΈπ Samuel Williams shared about making WebSockets proxy work between HTTP/1 and HTTP/2 for Falcon:
οΈπ Marc KΓΆhlbrugge shared about memory usage drop off after enabling Jemalloc for their Rails app:
οΈπ Jeremy Smith asked about building notifications for their new project:
Among many answers received, Stephen Margheim shared a gist detailing an analysis:
οΈπ Landon Gray asked about what vector DB are used by Rails shops:
Here are some answers:
faiss-ruby, storing on S3/GCS
pg_vector
Mongo Atlas Vector
Pinecone
οΈπ Jared Norman asked about RSpec or Minitest:
There are a lot of answers there; here is a short selection of some of them:
π‘ Around code (news, findings, books, and more - all about Ruby)
π‘ Nick Schwaderer shared a thread about how RubyGems web page evolved with time:
π‘ Juraj KostolanskΓ½ shared that they cannot use Rails in a domain name:
π‘ David Heinemeier Hansson shared this performance benchmark:
This post triggered some people outside the Ruby and Rails community, and then some people from the community responded. Here is a selection of replies:
π‘ Alex Rudall shared they reached 73 Ruby/Rails companies on their open repo:
β€οΈ Why Choose Ruby and Rails
β€οΈ Pierre Adrien shared about using Sinatra:
β€οΈ Chris Kottom shared about how Ruby is easy to read:
β€οΈ Donn Felker shared about rewriting an app from React and Node to Rails:
β€οΈ J Clarke shared about building startups with Rails:
π§° Gems, Libraries, Tools and Updates
π New Gems and Repos
π PaweΕ Urbanek published a new gem called pg-locks-monitor - A simple tool to observe PostgreSQL database locks in Rails apps
π§° Updates
π§° Avo announced a new version about v3.12.0 - DateTime filter, new custom components and many Dynamic Filters improvements
π§° Joel Drapper announced that Phlex 2.0 alpha is ready for testing ποΈ Β· phlex-ruby Β· Discussion #769 Β· GitHub
π§° Josef Strzibny announced a new version of Release v0.8.0 Β· wmlele/devise-otp Β· GitHub
π§° Zacharias Knudsen merged a PR to Rails Add support for SQLite3 full-text-search and other virtual tables by zachasme Β· Pull Request #52354
π§° Greg Navis announced a new version of active_record_doctor with Drop support for Active Record 6.0 and older (#183) Β· gregnavis/active_record_doctor@778178e Β· GitHub
π§° Nate Berkopec announced a new version of benchmark-ips β Release 2.14 Akagi Β· evanphx/benchmark-ips
π§° Akira Matsuda announced a new version of simplecov-html
π Keep an eye on
π Ruby Dev Meeting happened on 5th September. See the meeting log here. Here are some parts of the meeting:
π€οΈ Andrey Sitnik shared they updated the favicon guide How to Favicon in 2024: Six files that fit most needs
π€ Uncle Bob Martin shared a thread about benefits of OOP:
π€ Nate Berkopec shared about autoscaling based on CPU for background jobs:
π€ Adrian Marin shared about adding the email to Github profile:
π€ Guillermo Rauch shared
More content: π π π§ π₯ βπΎ
Kevin Newton shared their slides about Why Prism?
π Ruby On Rails published a new edition about Ruby on Rails β Solid Cache and Queue as default backends and more
π Hotwire Weekly published a new edition about Week 36 - Lazy-load Turbo Frames early, Turbo Laravel Morphing Support, and more!
π Ruby Weekly published a new edition about Real-time Ruby profiling
π Awesome Ruby Newsletter published a new edition Issue 433 - Say No To Partials And Helpers For A Maintainable Rails Front-End
π§ Podcasts
π§ Jeremy Smith published a new video about Week 5 - Riffing on Topic Subscriptions
π§ Ode To Rails Conf published a new podcast about Nadia Odunayo
π§ John Nunemaker published a new podcast about Pricing
π§ Indie Rails published a new podcast about Job Boarding with Jason Charnes
π§ Thoughtbot published a new podcast about The Bike Shed: 438: Writing abstractions in tests
π§ Luca Rossi published a new podcast with David Heinemeier Hansson
π§ Remote Ruby published a new podcast about Andrew is Triggered by Jason Cs JSON B Columns
π½οΈ π₯ Videos
π₯ Evil Martians published a new video about SF Bay Area Ruby Meetup #6 at GitHub on September 3
π₯ Yaroslav Shmarov published a new video about Build an international company search engine
π₯ Drifting Ruby published a new video about Ruby or Rails
π₯ Josh Pigford published a new video about Rails multi-app servers with Hetzner, Digital Ocean and Hatchbox
βπΎ Articles
Whatβs new π
π Adam McCrea published an article about Say No To Partials And Helpers For A Maintainable Rails Front-End
π Charles Oliver Nutter published an article about JRuby: Upcoming Projects β Charles Oliver Nutter β Java, Ruby, and JVM guy trying to make sense of it all
π Zeke Gabrielse published a new article about Licensing is packaging
π Bill Tihen published an article about Ruby 3.x - Lazy Evaluation, prioritized algorithms
π Ruby Central published an article about Ruby Central Welcomes Marty Haught as Interim Lead for RubyGems and Bundler
π Julian Rubisch published a new article about Betterstimulus | Targetless Controllers
π Rails Designer published an article about Refactor Stimulus.js Controllers to Use Change Callbacks
π Jonathan Greenberg published an article about How Can You Do it? Well, It Prepends...
π Brandon Weaver published a series of articles about Letβs Read β Eloquent Ruby β Ch 7, Letβs Read β Eloquent Ruby β Ch 8, Letβs Read β Eloquent Ruby β Ch 9 and about Letβs Read - Eloquent Ruby - Ch 10
π Carlos Pohlod published an article about Understanding complex Rails projects β Ruby on rails stack trace made easy
π Kevin Sylvestre published a new article about Using OmniAI to Convert PDFs to Markdown with LLMs
π Prasanth Chaduvula published an article about Rails 7.1 Adds *_deliver Callbacks To ActionMailer
How-TOs π
π Lawrence Gripper published a new article about shared Beautiful, Short, IDs in GraphQL (or other things) with SQIDs
π Akshay Khot published an article about Routing Concerns in Rails
π Luigi Antonio Guillen published an article about Ruby Debugging, VS Code, Gems, and Bundler!
π Hugo Vast published an article about Effortless Feature Management in Rails : A Guide to Using Flipper with Active Admin
π Luigi Antonio Guillen published an article about How to Install Ruby on Windows, macOS, and Linux
π JT Dev published an article about Working with LLMs in Ruby on Rails: A Simple Guide
π Edvardas Baravykas published an article about Ruby on Rails Boilerplate: Vite, Tailwind, Stimulus
π Vijay Vinod published an article about Upgrade Ruby using dual boot
π Radan Skoric published an article about How to load a lazy loaded turbo frame a bit before it scrolls into view
π Rails Designer published an article about Building Nested Forms in Rails with Stimulus
Sara Soueidan published a new article about Should form labels be wrapped or separate?
Reply