#​723 — October 10, 2024

Read on the Web

Together with  FastRuby.io

Ruby Weekly

Ruby 3.4.0 Preview 2 Released — The preview releases leading up to final Christmas Day Ruby releases don’t tend to throw up many changes, but this is an exception. A significant change is that Ruby’s default parser has been changed to Prism, so it’s absolutely worth testing your code against it now. You can also now use it as a default block parameter, amongst other minor syntax tweaks.

Yui Naruse

An Introduction to the Ruby LSP Add-on SystemRuby LSP is a language server that uses static analysis to improve Ruby editing features in editors like VS Code, Neovim and Emacs.

Andy Waite

👊RailsBump.org Is Now Supported & Maintained by FastRuby❤️ — Exciting news! RailsBump is now run by FastRuby.io. This open source, community-driven tool is great for tracking gem + Rails compatibility. What feature would make your upgrades smoother? Submit your ideas on GitHub, and let’s build it together!🚀

FastRuby + RailsBump sponsor

▶  Fireside Chat with DHH, Matz and Tobias Lütke — Matz and DHH shared a stage for the first time alongside Shopify CEO Tobias Lütke for a nearly hour long chat about Ruby, Rails, and all things open source. There was no fire, alas, but they covered a lot about Ruby and Rails history, community, and design philosophies.

YouTube

IN BRIEF:

The Process of Contributing to Ruby's Docs — Nithin saw some areas where he felt he could improve Ruby’s docs but was intimidated by the process involved.

Nithin Bekal

Join RubyConf24 Nov 13-15 for Sessions, Workshops, and Keynotes! — Meet your #RubyFriends, learn, and have fun! Register and book your hotel today!

RubyConf24 sponsor

Design Patterns in Ruby — A list of structural, behavioral, and creational patterns, each with an in-depth explanatory article and comprehensive code example.

Refactoring Guru

📗 Let's Read Eloquent Ruby: Chapter 20 — In 2011, Russ Olsen released the fantastic Eloquent Ruby, a book focused on doing things ‘the Ruby way’ and using Ruby to its full advantage. Brandon has been reading and blogging about each chapter as he progresses through the book, starting all the way from Chapter 1 back in 2021.

Brandon Weaver

RubyConf Chicago Dinner: Exclusive Industry Leaders Networking Invite — Join reinteractive for an exclusive dinner at RubyConf Chicago. Network with industry leaders & shape the future of Ruby.

Rubyconf Chicago Dinner Invitation sponsor

📄 Getting Capybara Browser Console Output for Failed Tests Jonathan Rochkind

📄 Running Multiple Apps on a Single Server with Kamal 2 Josef Strzibny

📄 What's New in Ruby on Rails 8 Damilola Olatunji

📄 Smooth Transitions with Turbo Streams Rails Designer

🛠 Code & Tools

Top 10 Most Excellent Gems to Use in Any Ruby Web App — These are personal favorites of the author, but his choices are good and cover both well known things like Dotenv and Concurrent Ruby to less common choices like Nokolexbor, an HTML parser based on Lexbor.

Jared White

Prompts: User-Friendly Forms/Inputs for Command-Line Ruby Apps — If you’re building a basic CLI app and you want users to enter text, pick from a range of options, or to confirm actions, this makes it a lot smoother to do.

Stephen Margheim

Mastodon 4.3: The Federated, Self-Hosted Microblogging AppMastodon is the most widely deployed Rails app (or, arguably, second to only Discourse) powering a wide federation of Twitter-esque social media sites. v4.3 is a major update, largely on the front end, with an improved design and notifications. Technical release notes.

Mastodon gGmbH.

Authentication Zero 4.0: Auth System Generator for Rails — Rather than being an authentication library, this generates a pre-built authentication system within your app directly which you can then modify as you see fit.

Lázaro Nixon

Neighbor: Nearest Neighbor Search for Rails — Now supporting Postgres, SQLite, MariaDB and MySQL, you can use this for things like implementing semantic search systems.

Andrew Kane

📰 Classifieds

🧰 Building AI apps on Postgres? pgai empowers devs with AI superpowers, enabling integration of AI workflows for tasks like embedding creation and model completion.


🐘 Postgres user? Be sure to check out our latest Postgres newsletter, including things like how to optimize table layouts, how Postgres 17 is faster than ever before, and updates to popular extensions.