Short Ruby News - Edition #79

Find out about new products launched, events and code samples along with library updates. A lot is happening each week in Ruby.

Nitter is not working anymore. So far I could not find a reliable alternative to provide links to Twitter posts for anyone that does not have an account.

You can jump directly to a section:

πŸš€ New Products & πŸ“… Events

🀝 Related (but not Ruby-specific)

πŸš€ New Products

πŸš€ Svyatoslav Kryukov launched RunRuby.dev:

πŸš€ Julien Bourdeau launched a Debugbar For Ruby on Rails 

πŸ“… Events

πŸ“… African Ruby Community announced the dates for the RubyConf Africa:

πŸ“… Madison+ Ruby announced a new conference Madison Ruby: Your Ruby Community happening on 1&2 August in Madison, WI, USA:

πŸ“… Ruby Central will create a directory of all active Ruby meet-ups β†’ Register Your Ruby Meet-Up

πŸ‘‰ All about Code and Ruby

πŸ‘‰ mruby released version 3.3

πŸ‘‰ Ruby On Rails shared a tip about capture_emails test helper:

πŸ‘‰ Amanda Brooke Perino announced the Rails Foundation is working with a UX designer to improve Rails Guides:

πŸ‘‰ Robert shared about how to generate JSON for huge numbers:

πŸ‘‰Andi shared a code sample from Ruby.wasm quickstart showing how to render Github page in the browser:

πŸ‘‰ Vladimir Dementyev shared about running Rails/Hotwire application in the browser:

πŸ‘‰ Mohit Sindhwani shared a code sample about using nested interpolation:

πŸ‘‰Ryan Bigg shared a tip about using puma-dev:

πŸ‘‰Marco Roth shared a code sample showing an AST that they plan to use in Stimulus LSP:

πŸ‘‰Sharon Rosner shared a code sample showing how to use Anonymous Block Forwarding in Ruby in Ruby and linked to an article from Akshay Khot about this feature:

πŸ‘‰ Andrei Maxim shared a code sample showing how to use StringInquirer:

πŸ‘‰ Casper Klenz Kitenge shared a code sample showing a controller implemented in Rails:

πŸ‘‰ Peter Solnica asked about using format.html/format.json or using separate controllers:

Here are some replies:

πŸ‘‰ Josef Strzibny shared a code sample about determining published_at as column to define scopes:

πŸ‘‰ Greg Molnar shared an advice about MFA flow:

πŸ‘‰ Bhumi shared about Page Refresh:

πŸ‘‰ Mike Ray Arriaga shared a code sample about small table pagination:

πŸ‘‰ Dean De Hart shared about using Rails for starting your own business:

Here are some more tweets about Rails and Turbo:

πŸ‘‰ Guillaume shared that Stimulus Components passed 800 stars and 5.4 million downloads:

πŸ‘‰ Hans Schnedlitz shared a code sample about creating your own generators:

πŸ‘‰ Greg Molnar shared a tip about securing password-based authentication:

Here is another security tip from Greg:

πŸ‘‰ Jason Nochlin shared a code sample showing how to implement a simple state machine:

πŸ‘‰ Adam Mc Crea shared a tip from their article about Scaling Sidekiq

πŸ‘‰ Ruby Cademy shared a code sample about using becomes:

πŸ‘‰ PaweΕ‚ Pacana shared a code sample about using Fibers in testing (I only added here a part of the code sample they shared):

πŸ‘‰ Fabian shared a tip about sending a web request from Rails console:

πŸ‘‰ Cody Norman shared an alias for searching rails routes with fzf:

πŸ‘‰ HeadlineINeed asked about Rails:

Following the conversation here, there are good pieces about why people like Rails and also what might be missing from the ecosystem. Here are a couple:

πŸ‘‰ Matt Swanson shared a code sample about hiding some content when the app is rendered from an iframe:

πŸ‘‰ Mike Ray Arriaga shared a tip about re-running a function when an element is updated:

πŸ‘‰ Rails Ui asked about using Rails partials and helpers:

Here are some replies, but there are more there and it is worth reading the arguments from all sides:

πŸ‘‰ Marc KΓΆhlbrugge asked about email templates:

Here are some recommendations:

πŸ‘‰ Juraj KostolanskΓ½ shared about configuring Traefik to exclude Cache-Control from some paths:

πŸ‘‰ Harrison Broadbent shared a code sample about using splat pattern in Rails:

Here is another alternative:

πŸ‘‰ Ruby Cademy shared a code sample about writing beautiful code:

πŸ‘‰ Alexis Bernard shared about the importance of naming:

πŸ‘‰ Rob Zolkos shared a code sample about setting solid_queue as the default adaptor for the built in Rails jobs:

πŸ‘‰ Mika Henriksson shared a thread and a short demo about using turbo_boost-elements gem:

Here is an example shared by Nate:

And a video showing the TurboBoost Elements with devtools enabled:

πŸ‘‰ Jason Swett shared about their progress of building Saturn CI:

πŸ‘‰ Naofumi Kagami εŠ γ€…ηΎŽη›΄ε² shared about naming variables to include their type:

πŸ‘‰ Uchio Kondo shared a code sample about drawing eBPF lottery:

πŸ‘‰ γ•γΌ ♻️ ζ˜₯秋 shared about Rails adopting what’s new:

πŸ‘‰ Greg Navis shared about NOT NULL constraints:

πŸ‘‰ Joe Masilotti shared they signed a book deal with Pragmatic Bookshelf:

πŸ‘‰ Vinicius Stock shared about the progress of Ruby LSP:

πŸ‘‰ Marco Roth shared they are working on a similar feature for Stimulus LSP:

πŸ‘‰ Avi Flombaum shared a short video demo about building all combinations for alert/toast demo with Rails and Turbo. See the demo and the source code 

πŸ‘‰ Avi Flombaum shared about configuring Tailwind IntelliSense extension to work with Rails:

πŸ‘‰ Hans Schnedlitz shared a code sample about testing for file sizes:

πŸ‘‰ Mika Henriksson shared a code sample about rendering Active Storage images:

πŸ‘‰ Dave Thomas shared about moving files around:

🧰 Gems, Libraries, Tools and Updates

🧰 Avo announced a new version of their Avo. Watch the release video

πŸ†• 🧰 David Heinemeier Hansson and Kevin McConnell released a new gem campfire-bot-kit

πŸ†• πŸ§°Stephann V.  announced a new gem phlex-slotable: Enable Slot API for Phlex views

🧰 Tim Riley announced a new release candidate for Hanami 2.1.0.rc3

🧰 Bozhidar Batsov (A.K.A. Bug) announced a new PR that was merged to Rubocop about  Use .config to store your project configs

🧰 Brooke Kuhlmann published a new version for Hanamismith | Alchemists

🧰 Dave Kimura shared a new version about release 0.3.3 - mission_control-servers

🧰 Mika Henriksson announced a new CVE for sidekiq-unique-jobs UI server vulnerable to XSS & RCE in Redis, if you are using the sidekiq-unique-jobs less than 7.1.33 or 8.0.9 please upgrade:

πŸ†• 🧰 Samuel Williams announced a new version of GitHub - socketry/async-job

🧰 Yuichiro Kaneko announced a new version of Release v0.6.3 Β· ruby/lrama

🧰 Kevin Newton announced a new version of Release v0.24.0 Β· ruby/prism

🀝 Related (but not Ruby-specific)

🀝 Ro Rvs Wild shared a very nice visual explanation about multi-column index order (there are some beautiful diagrams there):

πŸ‘‰ Stephen Margheim shared about optimizations:

🀝 Jason Swett shared 

🀝 Len Woodward shared 

🀝 Sam Johnson shared 

🀝 Prabin Poudel shared 

🀝 Radoslav Stankov shared 

🀝 Bhumi shared 

More content: πŸ“š πŸ—ž 🎧 πŸŽ₯ ✍🏾

πŸ—ž Newsletters

πŸ—ž Ruby LibHunt published a new edition about Awesome Ruby Newsletter - Issue 404, Feb 15, 2024

πŸ—ž Hotwire Weekly published a new edition about Week 07 - Turbo View Transitions, Hotwire Livestreams, and more!

πŸ—ž Ruby Weekly published a new edition about Now Ruby's on the Nintendo Wii

🎧 Podcasts

🎧 K.O.O published a new podcast about Enhance your Rails app with SQLite with Stephen Margheim

🎧 The Rails Changelog  published a new episode about  The Rails Changelog | 020: Andy Croll & Ufuk Kayserilioglu Uncover RailsConf 2024 Details

🎧 Maintainable Software Podcast published a new podcast about John Nunemaker-How Scary Is This Change?

🎧 RemoteRuby published a new episode about Exploring Dependabot-Unraveling Rails LSP-Vim Customization

🎧 Rubber Duck Dev Show published a new episode about Building a 2 Terabyte Database For My Postgres Course

πŸ“½οΈ πŸŽ₯ Videos

Screencasts

πŸŽ₯ Yaroslav Shmarov published a new video about Rails #159 Access localhost anywhere with Ngrok

πŸŽ₯ Md Romi published a new video about UrlShortener

πŸŽ₯ Sam Johnson published a new video about Building an Emoji Todo

πŸŽ₯ Roland Lopez published a new video about Turbo Drive: Ruby on Rails Performance Tricks tutorial using lazy load

πŸŽ₯ Jeffrey Chupp published a new video about Beyond the LSP with ruby-lsp and Neovim - Custom Methods!

πŸŽ₯ Dean De Hart published a new video about Kamal - Deploy Rails Apps with this New Gem

πŸŽ₯ Drifting Ruby published a new video about Episode 443 - Reloadable Fixtures | Drifting Ruby

✍🏾 Articles

What’s new πŸ†•

✍️ Igor Alexandrov published a new article about Traefik Tunning for Rails Applications (part 1)

Chris Sinjakli published an article about Ruby 3.3 Highlights

Joshua Wood published an article about  Visualizing Ahoy analytics in Rails

Alkesh Ghorpade published an article about Rubo Cop Comes Built In With Rails 8.0

Apoorv Tiwari published an article about What Is New In Ruby 3.3

Rupert Maspero published a new article about Top 5 Active Record Tips to Make Your Code More Efficient

Peter Solnica published a new article about 2024 Status update

Yedhin Kizhakkethara published an article about Rails 8 Introduces A Built In Rate Limiting API

Prasanth Chaduvula published an article about Rails 7.1 Allows Resetting Singular Associations

Sergey Tsvetkov published an article about Tuning Rails application structure

Deep Dives πŸ”

Aaron Patterson published an article about Using Serial Ports With Ruby | Tenderlove Making

Igor Alexandrov published a new article about  Evolution of GitHub Action for Kamal

Akshay Khot published an article about Anonymous Block Forwarding In Ruby

Greg Navis published an article about Presence, Null, And Product Requirements In Rails

How-TOs πŸ“

Etienne Van Delden De La Haije published a new article about  Import JS files from a Gem, `using importmap-rails`

Julian Rubisch published a new article about Full-Text Search for Ruby on Rails with Litesearch

David Boureau published an article about Authentication Vs Authorization With Rails 7

Lukasz Reszke published a new article about Upcasting events in RailsEventStore

RΓ©my Hannequin published an article about Get Consistent Data From Your Llm With Json Schema

Mike Ray Arriaga published a new article about Using Custom Turbo Actions with StimulusJS

Josef Strzibny published a new article about How to use private SSH keys with passwords in GitHub Actions

Related

Sylvain Kerkour published an article about Optimizing SQLite for servers

Reply

or to participate.