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:

[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:

๐Ÿ‘‰ 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:

๐Ÿ†• ๐Ÿงฐ Ro Rvs Wild announced a new gem web_tsunami: Tailor-made load testing for web apps

๐Ÿ†• ๐Ÿงฐ 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

๐ŸŽง Ruby Rogues published a new podcast about Flipper Cloud and the Future of Feature Flags - RUBY 622 - Ruby Rogues - Top End Devs

๐ŸŽง 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 ๐Ÿ†•

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.