Short Ruby News - Edition #76

Discover discussions about testing, new product launches, events updates, Ruby and Ruby on Rails code samples, Sinatra 4 release, new gems and more.

You can jump directly to a section:

More content: 📚 🗞 🎧 🎥 ✍🏾 (articles, podcasts, videos, newsletters)

[Sponsor ⬇] undercover-ci.com

Tracking test coverage is a PITA? Testing in continuous integration, but unsure which coverage goals to set?✨ Keep it simple with Undercover: - find untested code changes- fix them before shipping- stop worrying about coverage percentagesGet started on undercover-ci.com or check out the demo pull request.

🚀 New Products

🚀 Andrea Rocca (pre)launched Hallway Track:

🚀 Colleen Schnettler launched HelloQuery

📅 Events

📅 Rails Conf announced the  Scholars and Guides Program

📅 Wroclove.Rb announced the tickets are now on sale for wroc_love.rb 2024

📅 Lucian Ghinda shared a new edition of Ruby Meetup happening in Sibiu:

📅 Tropical.Rb announced the agend for Tropical.rb 2024

👉 All about Code and Ruby

[Sponsor 👇]

Undercover for GitHub finds code that was changed without tests. This way, you always ship with a complete understanding of your test suite health.Trusted by Ruby engineering teams at GitLab, Rainforest QA and Rhino.Learn more and get started at undercover-ci.com

👉 Georgie Boy shared they plan to open source PhlexUI - Component Library and asked for core maintainers:

👉 Steve Purcell shared a code sample showing how to use DATA mechanism:

👉Aaron Patterson shared two quizzes:

See here the answer/explanation for the first one and the second one.

👉John Hawthorn shared that Github.com is running on YJIT:

👉 Josef Strzibny shared a reddit post (you should read the comments there too):

👉 Kuba Suder shared about gems extracted from Ruby 3.3.0 Released

👉 Hans Schnedlitz shared a code sample about triggering flash messages from backend:

👉 Ruby On Rails shared about Rails with method:

👉 Eric Berry shared a gist for Calculating the diff of a PR

👉 Devin Mork asked about learning to code with Ruby for 7yo:

Among the replies:

👉 Ruby Cademy shared about organising Rails routes in different files:

👉 Rafael França shared a print screen about using devcontainers to run Rails on Windows:

👉 Joel Drapper invited people to Join the Naming Things Discord Server! and discuss the next version of Phlex:

👉 Bhumi shared an explanation about lambda literal syntax:

👉 Hans Schnedlitz shared about custom stream actions:

👉 Dima Fatko shared about testing:

👉 Robby Russell asked about parts of Rails framework that are intimidating:

Here are some of the replies:

  • ActionText because customizing it is not well documented

  • Building interactive frontends with drag/drop, sorting, and similar features

  • ActionCable

👉 Bijan Rahnema shared how to enable YJIT from Rails:

🕵️‍♀️ Tracking your pull request test coverage with open source Undercover? Upgrade to Undercover GitHub App to get insight reports for every pull request, access a detailed history dashboard for all repositories and receive dedicated support.Start for free at undercover-ci.com! 🚀

👉 Jason Swett shared a tip about Rails scopes:

👉 Donn Felker shared about writing tests:

👉 John Nunemaker shared advice about using a Hash instead of an Array of API responses:

👉 Jess Brown shared a code sample about querying for difference values than a given one, including the null ones:

👉 Michael Chaney shared about upgrading Rails (make sure you read the entire post, I included here only the first part)

👉 Ruby Cademy shared  about adding AmazingPrint to irb:

👉 u/9sim9 asked if AI affected prospects in the Rails space and about 40 comments are discussing this matter:

👉 Josef Strzibny shared about how to fix an error while doing Kamal setup:

👉 Avi Flombaum shared a small video showing a turbo frame update using a half-million records in SQLite DB:

👉 森田将和🇨🇦個人開発者&顧問エンジニア shared about performance while upgrading Ruby from 3.2 to 3.3:

👉 Matt Swanson shared a code sample about building Stimulus components with transitions:

👉 Ruby Cademy shared a tip about extending associations in Rails:

👉 @Levelsio shared about the fast building with Rails:

👉 Greg Molnar shared a code sample showing the expressiveness of Ruby

👉 Jose Farias shared about N+1s and seeing them as features:

👉 Scott Watermasysk shared about using Ruby shorthand syntax:

👉 Mika Henriksson shared a code sample about using heredoc Heredoc syntax highlighting

👉 Ruby Cademy shared a code sample about security issues when using allow_other_host:

👉 Ngan Pham shared about patching Ruby with jemalloc:

👉 Paul Kim shared a code sample about stopping flash message reappear:

👉 Deepak Mahakale shared a thread about deploying Rails application to Hetzner using Kamal:

Deepak created a repository to show all Kamal configs he used.

🧰 Gems, Libraries, Tools and Updates

🆕 🧰 Stephen Margheim announced a new version of Introducing Solid Errors (direct link to the solid_errors gem)

🧰 Ruby Weekly announced first that Patrik Ragnarsson cut a release for Sinatra 4.0

 

🆕 🧰 Vidar Hokstad released as open source Ruby X11 Window Manager 

🧰 Zed announced they are open sourcing their editor:

🆕 🧰 Stanislav Katkov announced a new version of irb-theme-nord - Nord theme for Reline/IRB

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

🧰 Ryo Nakamura announced a new version of Release v0.36.0 · r7kamura/sevencop

🧰 Camden Narzt announced the release of Passenger 6.0.20

🧰 Sharon Rosner announced a new version for extralite - Ruby on SQLite

🧰 Alberto Fernández-Capel published a new version of turbo-rails - v2.0.0-beta.3

 

🤝 Related (but not Ruby-specific)

🤝 Nate Hopkins shared about avoiding complexity:

🤝 John Nunemaker shared a quote about programming languages:

🤝 Cezar Halmagean shared about constraints:

🤝 Nate Hopkins advised for opting for less infrastructure:

🤝 Pascal Laliberté shared about building a product without a market:

🤝 Gavin Morrice shared  about testing:

🤝 Jason Swett shared about testing:

🤝 I shared about testing:

🤝 Paweł Dąbrowski shared about writing:

🤝 Jorge Manrubia shared about writing new code:

More content: 📚 🗞 🎧 🎥 ✍🏾

🗞 Newsletters

🗞 Ruby Central published a new edition of January 2024 Newsletter

🗞 Hotwire Weekly published a new edition about Week 04 - New Turbo 8 betas, using Twilio with Hotwire, and more!

🗞 Bhumi published a new edition of One Ruby Question about What Are Procs And Lambdas In Ruby?

🗞 Ruby Weekly published a new edition about Sinatra 4.0

🗞 Ruby LibHunt published a new edition about Awesome Ruby Newsletter - Issue 401, Jan 25, 2024

🗞 This Week in Rails published a new edition about Ruby On Rails’ Customized Console Prompt And Bugfixes

🎧 Podcasts

🎧 Indie Rails published a new podcast about IndieRails | Allan Branch - Captain of His Own Pirate Ship

🎧 Giant Robots Podcast published a new podcast about 509 - Revolutionizing Learning in Web Development with Wes Bos

🎧 The Bike Shed published a new episode about The Bike Shed: 413: Developer Tales Of Package Management

🎧 The Ruby on Rails Podcast published a new episode about Episode 504: Kaja Santro On Managing The WNB.Rb Slack Workspace

🎧 Dev Congress published a new podcast about #HowToBuild @KiddBubu <> fractaledmind: Building monoliths LITE

🎧 Carolina Code Conference published a new podcast about EP15 - The JRuby Guy: Conference Globe Trotting, Minnesota Life and the Java Virtual Machine

🎧 Maintainable Software Podcast published a new podcast about Andrew Atkinson - Maintainable… Databases?

📽️ 🎥 Videos

Screencasts

🎥 Yaroslav Shmarov published a new video about Ruby On Rails #157 Calendar Search With Gem Pagy

🎥 Chris Oliver published a new video  Single Table Inheritance (Sti) With Active Record In Rails

🎥 Dean DeHart published a new video about Livestream To Your Rails App With Amazon IVS

🎥 Andrei Bondarev published a new video about Dynamic AI Prompts with PromptTemplates, Ruby, Langchain.rb and OpenAI

🎥 Drifting Ruby published a new video about Episode 439 - Exploring Campfire

🎥 Alireza Bashiri published a new video about day 4 of making my startup live

🎥 Drifting Ruby published a new video about Episode 440 - Campfire Deploy with Kamal

Talks

📽️ 37signals published a new video about LIVE with 37signals

✍🏾 Articles

What’s new 🆕

Victor Shepelev published an article about The End Of “Useless Ruby Sugar”: On intuitions and evolutions

Ro Rvs Wild published an article about Ruby on Rails load testing habits

Kevin Newton published an article about Prism: Ruby 3.3's new error-tolerant parser

Gannon McGibbon, Chris Salzberg published a new article about A Packwerk Retrospective

Vladimir Dementyev published an article about View Component In The Wild Iii: Tailwind Css Classes & HTML Attributes

Thomas Brennetot published an article about Sidekiq is Too Fast

Mari Imaizumi published a new article about IRB update: JP version, EN version translated with Google Translate

Swaathi Kakarla published an article about Active Storage Now Pre Processes PDFs and Videos

Amanda Bizzinotto and Francois Buys published an article about Machine Learning: An Introduction To Cart Decision Trees In Ruby

Apoorv Tiwari published an article about Performance Gains In Ruby 3.3 String.Dup Vs. String#+

Ruby Central published an article about Ruby Central Leadership Opportunity: Social Media Volunteers

Thomas Riboulet published an article about Behaviour Driven Development In Ruby With RSpec

Thomas Cannon published a new article about "Do it right, or do it twice" Code Quality Edition 

Will Cosgrove published an article about A Tale Of Two Phlexes

Yuki Kurihara published an article about Catch up on the latest information on RBS - JP version, EN version

Deep Dives 🔍

Chirag Shah published an article about Solid Queue Understanding UPDATE SKIP LOCKED

Steve Polito published an article about Rails Advanced Routing Constraints

Akshay Khot published an article about Understanding How Rails Environments Work

Steven Harman published a new article about  So We've Got a Memory Leak…

Konnor Rogers published an article about Trix and I are not friends

How-TOs 📝

Jared Norman published an article about The Null Object Pattern And Ruby

Stephen Ierodiaconou published an article about Self Hosted Git Hub Actions Runners With Hatchbox

Brad Gessler published an article about Rails On Docker Without Docker

David Boureau published an article about Rails Form With Tutorial and about How To Encode An Url String In Ruby

Stephen Margheim published an article about Radio Pills With Tailwind

Ben Sheldon published an article about Replacing Devise With Rails `Has Secure Password` And Friends

Christian Toscano published an article about Integrating A Blog Section To Your Rails App Using Markdown In Minutes

Thiago Araújo Silva published an article about Handling External Api Errors: A Transactional Approach

Glauco Custódio published an article about Migrating From Dokku To Kamal: Scheduling Cron Jobs

Luiz Kowalski published an article about Production Grade (Ish) Rails Deployment On Hetzner With Kamal

Nithin Bekal published a new article about  Rake task for Jekyll stats

Avi Flombaum published a new article about Turbo Frame Filters Search

Benito Serna published an article about Copy Shoes.Rb And Use Stacks And Flows To Build Layouts

Ryan Bigg published an article about View Components, Table Edition Ryan Bigg

Justin Searls published a new article about Brand New Rails 7 Apps Exceed Heroku’s Memory Quotas

Jon Sullivan published an article about Browser Based Calling With Twilio And Hotwire: A Novel Approach

Related

Irina Nazarova published an article about Value Pricing For Dev Tools: A Strategy Beneficial For Both Sides

David Copeland published an article about Web Components In Earnest

Brandon Weaver published an article about On Diligence

Avdi Grimm published a new article about On “Owning” Software

William Kennedy published a new article about Turbo Native iOS Offline Mode using SQLITE - Part 1

Issei Naruta published a new article about I retired from Cookpad - JP version, EN version

Reply

or to participate.