- Short Ruby Newsletter
- Posts
- Short Ruby News - Edition #99
Short Ruby News - Edition #99
Stay up-to-date on the latest launches, events, code samples, videos, and articles in the Ruby world. Don't miss out on what's happening in our community!
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)
π Launches and discounts
π Julian Rubisch launched the overhaul for betterstimulus.com
π Events
π Ruby Conf announced Tickets are on sale
π Richie Khoo announced that tickets are on sale for Ruby Retreat 2024:
π Irina Nazarova announced that on August 13 YCombinator will be hosting the SF Ruby meetup:
π Nairuby shared they are looking for companies that use Ruby in Kenya. Please fill out the linked form:
π Meetups and conferences around the world happening this week:
π All about Code and Ruby
π Takashi Kokubun announced Ruby 3.3.4 Released
There is also a Release Schedule presented:
Postmodern announced that ruby-install supports Ruby 3.3.4 Released
π David Heinemeier Hansson shared Solid Queue now runs close to 20 million jobs daily
π» Code Samples
οΈπ» Matt Swanson shared a tweet demonstrating the power of the Hash#dig method
π» Haseeb shared Rubyβs deep_merge method works
π» Xavier Noria shared how bin/rails runner can go inside a shebang. Really helpful for the one-off scripts
οΈπ» Nate Hopkins shared about documenting complex Rails partials with strict locals:
π» Greg Navis shared a thread on ActionDispatch::RequestId. This thread will help deepen youβre understanding of the Rails middleware:
οΈπ» Ruby Cademy reminded us that Ruby allows function composition:
π» Ro Rvs Wild shared about using any?, exists? and present?
π»οΈ sczi published a script to add fzf completions in IRB (see it in action in this short video):
οΈπ» Ismael Celis shared an example of how a declarative Ruby data structure looks like in action.
π» Okura Masafumi shared a code sample showing how nested attributes can be used from alba - is a JSON serializer for Ruby, JRuby and TruffleRuby:
οΈπ» Ahmed Nadar shared about using OOP in WriteBook:
οΈπ» Haseeb shared how handy ActiveSupportβs delegate method
οΈπ» Haseeb shared how we can use update_all to move calculations to the DB for increased performance
π» Ruby Cademy shared how to use regex constraints to validate dynamic segments in routes
π» Valentino Stoll shared a code sample using Sublayer to generate RSpec files:
π» Haseeb shared how ActiveSupportβs `in?` method works in action
οΈπ» Prem Sichanugrist shared rack/lib/rack/utils.rb at v3.1.6 Β· rack/rack
οΈπ» Haseeb shared Pluck in batches - combines the efficiency of pluck with the memory-friendly approach of find_in_batches
οΈπ» Haseeb shared about sanitize_sql_array method in Rails:
π Thinking about Code Design
οΈπ Svyatoslav Kryukov shared a thread on how we the alternative approach to building web applications using Vite/Interjia.js works.
Here is a reply from DHH:
οΈπ Lucian Ghinda asked Akinori MUSHA about the introduction of hash value omission
Akinori took the time to respond:
οΈπ John Pollard asked about usage of defining namespaces:
Here are some replies:
π οΈGreg Navis shared a thread on working with the `itself` method. The Twitter thread details how he used it.
π Avi Flombaum shared how he works with restful APIs - here is the code sample for the client:
οΈπ Greg Navis shared a detailed thread about how reset_association and reload_association work.
π Michael Chaney shared why naming things is very important.
π‘ Around code (news, findings, books, and more - all about Ruby)
π‘ Joel Drapper shared about how Heroku influences the adoption of PostgreSQL:
There are a lot of replies to this post, here are some of them:
And here are some other posts (not direct replies to Joel question but related):
β€οΈ Why Choose Ruby
β€οΈ Amanda Brooke Perino shared sheβs noticed a definite uptick on the Rails Job Board
β€οΈ Keshav Biswa shared how easy it was upgrade his hobby projects.
π§° Gems, Libraries, Tools and Updates
π New Gems and Repos
π Dima Fatko announced a new gem active_record_tracer: A tracer for Active Record queries
π Matt Brictson published a new gem called bundle_update_interactive - Adds an update-interactive command to Bundler
π Marco Colli published a new gem called dnf - Convert any boolean expression to disjunctive normal form (DNF)
π Scott Werner announced a new gem called testing_agent - Pair with an LLM that continuously watches a test file and an implementation file for changes see a video here Introduction to SubLayer AI Agent Ruby Gem
π§° Updates
π§° Vinicius Stock announced a new version of Ruby LSP
π§° Janko MarohniΔ ππ announced a new version of Minimagick v5.0.0
π§° Jason Zimdars announced a new version of ONCE Writebook - Changelog
π§° Santiago Bartesaghi announced a new version of yaaf: Easing the form object pattern in Rails applications
π§° Bozhidar Batsov announced a new version of Release RuboCop 1.65 Β· rubocop/rubocop Β· GitHub
π§° Jeremy Evans announced a new version of Roda 3.82.0 Released Β· jeremyevans/roda Β· Discussion #361 Β· GitHub
π§° Greg Molnar announced a new version of Release v4.2.0 Β· activerecord-hackery/ransack Β· GitHub
π§° Dima Fatko announced a new version of Add ability to configure default settings for new connections by fatkodima Β· Pull Request #177 Β· ruby/net-http Β· GitHub
π€ Related (but not Ruby-specific)
π€ Mike Dalessio shared about their career change:
π€ Joe Pea shared @property - CSS: Cascading Style Sheets | MDNd
π€ Gokul β‘οΈ shared fabulous Career advice over this twitter thread. Do give it a read:
π€ Adrian Marin shared a detailed thread on domain hunting
π€ Zed shared Zed on Linux is here!
More content: π π π§ π₯ βπΎ
π Chris Blunt announced the launch of the book RailsOnDocker
π Newsletters
π Ruby On Rails published a new edition about Ruby on Rails β New Rails beta release, immutable option in http_cache_forever and more
π Ruby Weekly published a new edition about All the talks from RailsConf
π Hotwire Weekly published a new edition about Week 28 - RailsConf 2024 videos, managing connection avalanches, and more!
π Awesome Ruby Newsletter published a new π Issue 425
π§ Podcasts
π§ The Ruby on Rails podcast published a new podcast about Joel Hawksley on Web Accessibility
π§ Creston Jamison published a new podcast about PgBouncer Breaking Change | Scaling Postgres 323
π§ The Bike Shed published a new podcast about The Bike Shed: 432: The Semantics and Meaning of Nil
π§ Ruby Rogues published a new podcast about Choosing the Right Audit Trail Approach in Ruby
π½οΈ π₯ Videos
Screencasts
π₯ Rails Conf published RailsConf 2024 Videos
π₯ Igor Alexandrov published a new video about the ONCEβs Writebook codebase
π₯ Collin published a new video about Exploring the new Rails console prompt
π₯ JuliΓ‘n PinzΓ³n published a new video about Discovering Turbo 8 refreshes in Ruby on Rails
π₯ Jason Swett published a new video about Adding Live Runtime Counter - Live Coding on SaturnCI, about Rethinking My Sloppy Build Status Logic - Live Coding on SaturnCI and about Intro to Testing - Mentorship Session with Michael Kihanya
π₯ Arkency published a new video about Build Read Models with Subscription Checkpoint + Testing concurrency!
βπΎ Articles
βοΈ Ryan Bigg published a new article about Debugging Checklist
βοΈ Avo published a new article about Delegated Types and and building the ultimate Kanban Board in Rails Β· Avo
βοΈ Julian Rubisch published a new article about Stimulus - Adding Markers to a Wavesurfer Element
βοΈ Jijo Bose published a new article about Rails 7.2 Adds app:update Task to be a Rails Command
βοΈ Vladimir Dementyev published a new article about how to deal with connection avalanches when working with Websockets
βοΈ Prasanth Chaduvula published a new article about Rails Add ActiveRecord.after_all_transactions_commit Callback | Saeloun Blog
βοΈ Ben Sheldon published a new article about Notes from Carrierwave to Active Storage
βοΈ Prasanth Chaduvula published a new article about Puma-dev And Using It With Rails Applications
βοΈ Jijo Bose published an article about Rails 7.2 Adds app:update Task to be a Rails Command
Whatβs new π
π Jason Zimdars published a new article about Tools for builders
π΅οΈ Deep-Dive
π΅οΈ Peter Zhu published a new article about Finding Memory Leaks in the Ruby Ecosystem
π΅οΈ Matt Stuchlik published a new article about Syscall Showdown: Python vs. Ruby
π΅οΈ Mohammad A. Ali published a new article about The Write Stuff: Concurrent Write Transactions in SQLite
π΅οΈ Cj Avilla published a new article about Common Sense Troubleshooting For Web Devs
How-TOs π
π Harut Margaryan published a new article about Using Async in Ruby on Rails for CSV export - DEV Community
π Kevin Murphy published an article about Access Request Headers in a Rails Controller
π Ganesh K. published a new article about Deploy Rails with Capistrano, Puma, Nginx
π Rails Designer published a new article about Add a custom Tailwind CSS class for reusability and speed
Related
βοΈ My Sql announced the launch of MySQL 9.0
βοΈ Zeno Rocha published a new article about Spotflowβs journey towards better email deliverability - part 1
Reply