Short Ruby News - Edition #98

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:

🚀 Launches & 📅 Events

👉 All about Code and Ruby: 💻 Code, 📐Code Design,💡Around, ❤️ Why Choose Ruby

🧰 Gems, Libraries, and Updates: 🆕 New, 🧰 Updates

🤝 Related (but not Ruby-specific)

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

[Partner ⬇] friendlyrb.com

When: 18-19 Sep 2024 📅Where: Bucharest, Romania 🇷🇴Join us for two days of inspiring talks, networking with 100+ peers, and fun outdoor activities! ✨Speakers from 37signals, Factorial HR, freelancers, independent consultants, and more! Secure your ticket! 🎟️ friendlyrb.comBecome part of our welcoming Ruby community. Let's code, learn, and grow together!#RubyConf #Friendlyrb2024 #RubyDevelopers

🚀 Launches and discounts

🚀 Avo is hosting Office hours on Friday, July 12th! Join them to learn about their latest projects → register here

🚀 Irina Nazarova has her calendar open for meeting with you about tech/businesss.

🚀 Julian Rubisch launched SoundLogo, sound branding software for businesses and content creators.

🚀 Kyrylo Silin launched Flag Match

🚀 Avdi Grimm launched a frontend/backend bundle of courses, Birthday Bundle 2024: Graceful.Dev + Lean Web Club

🚀 Jason Fried officially launched ONCE - Writebook from 37 Signals, a new web app to publish your own books. And guess what? It’s free and you can even glance at the source code!

📅 Events

📅 Ruby Conf India will be hosted in Jaipur on 29th and 30th of November.

📅 African Ruby Community reopened the call for speakers

📅 Ruby Conf has extended the deadline for Call for Proposals. Send your proposals before Monday, July 22nd.

📅 Ruby Kansai shared 大阪Ruby会議04 - Ruby関西

📅 Meetups around the world happening this week:

👉 All about Code and Ruby

👉 Charles Oliver Nutter announced they are leaving Red Hat and looking for support, read the announcement here The JRuby Blog : Independence Day 

💻 Code Samples

💻 Marc Köhlbrugge shared on built-in data normalization support in Rails 7.1

💻 Haseeb talks about the thread-safe attributes management built in Rails which is useful for passing user or request-specific information.

️💻 Matt Swanson shared a code sample organizing everything inside an Active Record association:

️💻 Jp Camara shared a script to run Falcon/Puma using https without warnings local_https_without_warnings.md

️💻 Joel Drapper shared how they implemented a helper to solve the `klass` vs `class` issue:

💻 Nithin Bekal shared a Script to bump Ruby version in Rails app

️💻 Andrei Kaleshka shared a code sample about processing webhooks:

️💻 Matt Swanson shared a series of thread about Writebook siource diving:

Here are the other threads shared:

💻 Ruby Cademy shared two approaches to add time intervals to DateTime objects

They also tell us how to extend Rails' YAML file parsing capabilities?

💻 Haseeb shares a tip on how durations can be chained together to create more complex intervals.

He also shared a tip rails caching to prevent race condition on cache.

Here is yet another database performance tip!

💻 Ruby Cademy shared a tip on identifying slow views by calling benchmark around suspected parts to determine their loading times.

💻 Josh Pigford shared rate_limit method from Rails 7.2

💻 Ismael Celis shared composable, idempotent and concurrent file download pipelines in #ruby

💻 Greg Navis shared an interesting thread on Rack::MethodOverride. This is just the beginning of it, check out the post to see full details.

️💻 Jorge Manrubia shared a code sample showing how they transformed a bash script to Ruby:

️💻 Ismael Celis shared a code sample parsing CSV streams with plumb/examples/csv_stream.rb at main

️💻 蒼時弦也 shared a code sample showing how to use dry-transaction to create an operation:

️💻 Lucian Ghinda shared a thread about NullObject:

📐 Thinking about Code Design

️📐 Greg Molnar shared about rate-limiting authentication:

️📐 Joel Drapper asked about testing JavaScript in Rails app:

Here are some answers:

️️📐 Mohammad A. Ali shared a thread about working on improving SQLite write concurrency & durability:

💡 Around code (news, findings, books, and more - all about Ruby)

💡 Paweł Dąbrowski talks about the need to familiarize with AWS for a rails developer

💡 Jason Fried answered a question about why Writebook is not open source:

❤️ Why Choose Ruby

❤️ Kyrylo Silin shared how they built their project in just 6 days with Rails:

❤️ Collin Donnell shared building master/details view with Hotwire and zero custom JS:

❤️ Charles Oliver Nutter shared about UN having a JRuby application:

They also shared:

❤️ Jason Charnes shared about Ruby LSP:

🧰 Gems, Libraries, Tools and Updates

🆕 New Gems and Repos

🆕 Jonas Brusman shared Zed extension for running Standard Ruby

🆕 Remi Mercier announced their first gem jekyll-cover: A custom Jekyll command to generate og:image for new posts

🆕 Ismael Celis published a new gem called  plumb - Data validation and coercion for Ruby

🆕 Tony Burns announced a new gem sqids-rails: Sqids (formerly Hashids) integration for Ruby on Rails

🆕 Peter Boling announced a new gem active_security: Disallow Unscoped Find for a Restful Night Sleep

🆕 Samuel Williams release a new repo socketry/flappy-bird

🆕 Konnor Rogers announced a new repo about rails-islands: A small POC of how you might build islands into Rails + Vite. There’s a ton of ways to make it better

🧰 Updates

🧰 JRuby announced a new version of JRuby 9.4.8.0 Released JRuby.org

🧰 Avo announced a new version, v3.10.0 - Customizable Dynamic Filters, Click row to go to record, profile and cover photos and mooooore

🧰 Samuel Williams released a new version of rack that fixes CVE-2024-39316

🧰 Mike Perham announced a new version of Sidekiq → Iteration and Sidekiq 7.3.0

🧰 Stan Lo announced a new version of Release v1.14.0 · ruby/irb

🧰 Vinicius Stock announced that Justin Searls implemented a series of changes in standardrb to support Ruby LSP: Add support for Ruby LSP as a built-in add-on by searls · Pull Request #630 · standardrb/standard

🧰 David Heinemeier Hansson announced a new version of The Omakub

🧰 Jeremy Evans announced a new version of Sequel 5.82.0 Released · jeremyevans/sequel · Discussion #2183

🧰 Ben Sheldon (He/Him) announced the release of  Introducing GoodJob v4

🧰 Jorge Manrubia announced a new version of Release v2.1.2 · basecamp/trix

🧰 Stefan Wienert announced a new version of extract_i18n: Automatically extract I18n keys from Ruby, Slim files bootstrap your I18n conversion

🧰 Nate Hopkins announced a new version of TurboBoost Commands generator example

🤝 Related (but not Ruby-specific)

🤝 Greg Molnar shared about updating OpenSSH:

🤝 Xavier Noria shared a thread about Math:

🤝 Mees shared a tip to see all images without alt tags:

🤝 Ben Orenstein shared about building a profitable SaaS business:

🤝 Svs shared about limiting working hours:

🤝 Marian Posăceanu shared about APFS:

More content: 📚 🗞 🎧 🎥 ✍🏾

👉 Samuel Williams shared their presentation at RubyKaigi 2024 presentations/2024 at main · ioquatix/presentations

🗞 Newsletters

🗞 Ruby Weekly published a new edition about Ruby Weekly Issue 710: It's independence day for JRuby too

🗞 Ruby On Rails published a new edition about Configurable compressor for encryption, Rack 3 streaming and more

🗞 Hotwire Weekly published a new edition about Week 27 - Testing Stimulus Controllers, Optimistic UI with Hotwire, and more!

🗞 Awesome Ruby Newsletter published a new edition about Issue 424 - JRuby funding at Red Hat stopped – call for sponsors

🗞 Any Cable published a new edition about Any Cables Monthly #21

🎧 Podcasts

🎧 Yaroslav Shmarov and Adrian Marin published a new podcast about Avo joining TinySeed

🎧 Rooftop Ruby published a new episode about When You See It, You Know It

🎧 Code And The Coding Coders Who Code It published a new podcast about Episode 37 - Kinsey Durham Grace

🎧 Remote Ruby published a new podcast about RubyConf with Kinsey Durham Grace and Jim Remsik

📽️ 🎥 Videos

Screencasts

🎥 Friendly.Show published a new episode about Tomas Valent published an article about Friendly S2E9 Avo joins TinySeed What will Adrian do with the money?

🎥 Andrew Atkinson published a new video about Mastering PostgreSQL for Rails: An Interview with Andy Atkinson

🎥 Drifting Ruby published a new episode about Tracking Writebook Changes

🎥 Yaroslav Shmarov published an article about Tailwind on Rails #177 Responsive Collapsible Sidebar

🎥 Arkency published an article about Two separate models build separately?! Asynchronous read model building

✍🏾 Articles

What’s new 🆕

🆕 Ben Greenberg published a new article about Couchbase on Rails: A Guide to Introducing Dynamic and Adaptive Data to Your Application - The Couchbase Blog

🆕 Kent Beck published a new article TDD is Not Hill Climbing

🆕 Tuomas Jomppanen published an article about Ruby on Rails Snippets I Find Helpful at the Start of a Project

🆕 Cirdes Henrique published a new article about Tropical.rb - The Challenges of Organizing a Ruby/Rails Conference

🆕 Greg Navis published a new article about War Against Bots

🆕 Mateusz Palak published a new article Learning to Program: The resources and methods I used to teach myself coding.

🆕 Jp Camara published a new article about Consistent, request-local state.

🆕 Jeffery Morhous published a new article about Parsing CSV files in Ruby.

🆕 The Ruby Dev published a new article about Binary Decision Tree in Ruby ? Say hello to Composite Pattern.

🆕 Thomas Riboulet published an article about Debugging in Ruby with Debug

🆕 Justin Searls published an article about  Why I just uninstalled my own VS Code extension

🆕 Yuta Kusuno published an article about [Rails] count vs length vs size with Samples and a Diagram

🆕  Naofumi Kagami 加々美直史 published a new article about Rails: あなたがService Objectでやりたいことは、たぶんActiveRecordで1行でできる / Rails: What you want to do with a Service Object, you can probably do with ActiveRecord in one line\

🆕 Rails Designer published an article about UI Design Tips Using Tailwind CSS for Developers

🆕 Prasanth Chaduvula published an article about Rails Adds ActiveRecord::Base.with_connection To Optimize Database Operations

🕵️ Deep-Dive

🕵️ Victor Shepelev published a new article Vignettes on language evolution: discovering an old syntax feature history

🕵️ Igor Alexandrov published a new article about Rails String#upcase_first VS capitalize and titleize | Ruby & Beyond

🕵️ Justin Searls published a new article about Abusing Rails’ content_for to push data attributes up the DOM

How-TOs 📝

📝 JT Dev published a new article about How to avoid N + 1 and keep your Ruby on Rails controller clean - DEV Community

📝 Dom Christie published a new article aboutOptimistic UI with Ruby on Rails & Hotwire

📝 Jeff Morhous published a new article about published an article about Parsing CSV files in Ruby

📝 Radan Skoric published an article about How to get good at noticing code smells

📝 John Nunemaker published a new article about How to rename a feature flag

📝 Darya Sharkova published an article about How to use Turbo in your Rails apps with RubyMine

Related

✍️ Michael Chaney published a new article about Considerations for Unicode and Searching

All issues