Short Ruby News - Edition #88

You can jump directly to a section:

๐Ÿ‘‰ All about Code and Ruby: ๐Ÿ’ป Code, ๐Ÿ“Code Design,๐Ÿ’กAround, โค๏ธ Why Choose Ruby

๐Ÿงฐ Gems, Libraries, and Updates: ๐Ÿ†• New, ๐Ÿงฐ Updates and ๐Ÿ‘€ Keep an eye on

[Promo โฌ‡] RailsConf

RailsConf 2024 is the world's longest-running gathering of Rails developers, brought together to further discussion and learning about building, managing, and testing Rails apps. This yearโ€™s line up of speakers have been selected to give attendees real-life, practical, insights into building and running Rails apps and teams.Donโ€™t miss this chance to learn, network, and explore Detroit with us this year! Enjoy iconic museums and street art, a rich food and music scene, and socializing with fellow Rails developers in the one and only Motor City.

๐Ÿš€ New Products, Discounts and Pre-launches

๐Ÿš€ Gui Heurich launches his book on the anthropology of coding communities. Coderspeak

๐Ÿš€ Julian Rubisch introduces the new website for Hotwire Club!

๐Ÿš€ Andrew Atkinson shared a discount for High Performance PostgreSQL for Rails with promo code 2024Data (code is valid until April 30)

๐Ÿ“… Events

๐Ÿ“… Ruby On Rails shared Rails World - 2024 tickets will be available from April 30 at 1pm EDT.

๐Ÿ“… Rubyday announces Late bird Tickets

๐Ÿ“… Brighton Ruby announced the speakers at Brighton Ruby Conference

๐Ÿ‘‰ All about Code and Ruby

๐Ÿ‘‰ Ruby Language announced new version to fix CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search. You should upgrade:

๐Ÿ’ป Code Samples

๐Ÿ‘‰ Adam shared a way to interpolate strings into text using the format method

๐Ÿ‘‰ Drew Bragg shared some byzantine Ruby code:

๐Ÿ‘‰ Samuel Williams shared about the behavior of $! in Ruby:

Keygen shared a point of view of thinking about $! like a stack

๐Ÿ‘‰ Akshay Birajdar shared a benchmark comparison between reverse_each, filter.last and rindex:

๐Ÿ‘‰ Joel Drapper shares Phlexโ€™s experiment component kits features

๐Ÿ‘‰ David shared a new RuboCop update that allows array methods for collection manipulation

๐Ÿ‘‰ Nate Berkopec shared an ActiveRecord tip for associations

๐Ÿ‘‰ Joe Masilotti shared Rails: Easy Sitemaps that helped him add sitemaps to a Rails site without using any gem:

๐Ÿ‘‰ Miguel Michelson Martinez published a gist about an asynchronous concern:

๐Ÿ‘‰ Stephen shared a micro benchmarke of swap values:

๐Ÿ‘‰ Benjamรญn Silva H. shared how he tracked memory issue using the get_process_mem gem.

๐Ÿ‘‰ Deepak Mahakale shared a rails command to switch the database of a rails application.

๐Ÿ“ Thinking about Code Design

๐Ÿ‘‰ Colby Swandale shared about enabling YJIT on RubyGems and seeing a 20% improvement on P95:

๐Ÿ‘‰ Eileen M. Uchitelle responded to a post by Jason Sweet shared last week about Rails conventions:

๐Ÿ‘‰ Nate Berkopec quoted on how micro-benchmarks donโ€™t always lead to macro-improvement

๐Ÿ‘‰ Nate Berkopec shared about a missing abstraction between the controller and the view in Rails:

Here are some replies with some possible solutions:

๐Ÿ‘‰ Andrew Mason shared about flaky tests in CI:

Here are some of the replies:

๐Ÿ’ก Around code (news, findings, books, and more - all about Ruby)

๐Ÿ‘‰ Ruby On Rails opened documentation PR for community review - RTL Rendering for Guides by jathayde

๐Ÿ‘‰ Kian Pak shared documentation about how Rails parsed the request and asked for feedback:

๐Ÿ‘‰ Stan Lo shared about extending IRB and asked for feedback on the documentation at irb/EXTEND_IRB.md at master ยท ruby/irb

๐Ÿ‘‰ Emmanuel Hayford highlights how sponsorships are crucial for success of events

๐Ÿ‘‰ ใƒใ‚ณใƒšใƒƒใ‚ฏใƒใ‚คใƒˆ shared about configuring Puma threads:

๐Ÿ‘‰ Sergiobayona asked about who wants to get involved in building a Ruby framework for LLMs:

โค๏ธ Why Choose Ruby

โค๏ธ Lucian Ghinda appreciates everyone involved in crafting #Ruby into a language that he loves using daily.

โค๏ธJoe Masilotti shared why he loves writing Rails code.

โค๏ธ Nate Berkopec speaks on how Railsโ€™ doctrine of convention over configuration can help new developers to pick up the pace real quick.

โค๏ธ Ruby Cademy calls our attention to how elegant Ruby code is

โค๏ธ Kian Pak shared about switching from React to Rails:

โค๏ธ Stanislav Katkov shared how friendly Ruby community is:

โค๏ธ Francesc Esplugas shared about loving Ruby after 20 years:

๐Ÿงฐ Gems, Libraries, Tools and Updates

๐Ÿ†• New Gems and Repos

๐Ÿ†• Niklas Hรคusele announced the first working version of custom_elements_rails gem

๐Ÿ†• Sergiobayona announced release of instructor-rb  

๐Ÿ†• Mike Dalessio announced the release of gem nokogiri-html5-inference , which when given HTML5 input, make a reasonable guess at how to parse it correctly.

๐Ÿ†• Peter Zhu announced the release of a new gem autotuner - Get suggestions to tune Ruby's garbage collector

๐Ÿงฐ Updates

๐Ÿงฐ David Heinemeier Hansson announced the removal of Spring from Rails8

๐Ÿงฐ Dima Fatko announced that the new version of rails will allow assertionless tests to be reported.

๐Ÿงฐ Postmodern shared the release of ruby versions with security fix for CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search

๐Ÿงฐ Vinicius Stock announced the release of v0.16.5 of Ruby LSP

๐Ÿงฐ Alex Rudall announced a new version of Release v7.0.0 ยท alexrudall/ruby-openai

๐Ÿงฐ Mari Imaizumi announced a new version Release v0.5.3 ยท ruby/reline

๐Ÿงฐ Maciej Mensfeld announced a new version of Karafka 2.4

๐Ÿงฐ Yuichiro Kaneko announced a new version Release v0.6.6 ยท ruby/lrama

๐Ÿงฐ Alex Rudall announced a new version of anthropic gem:

๐Ÿ‘€ Keep an eye on

๐Ÿ‘€ Marian Posฤƒceanu shared on DHHโ€™s proposal on removing Spring from Rails8

๐Ÿ‘€ Mike Perham: announced new features for sidekiq 7.3.0:

You should also read this conversation between Nate Berkopec and Jean Boussier:

๐Ÿค Related (but not Ruby-specific)

๐Ÿค Kasper Timm Hansen is offering to help small/medium Rails shops with their apps

๐Ÿค Ryan Bates shared about changes:

๐Ÿค Josef Strzibny shared a tip for Product Hunt launches:

๐Ÿค ใƒใ‚ณใƒšใƒƒใ‚ฏใƒใ‚คใƒˆ shared about being a senior developer:

๐Ÿค Jack Culpan shared about sending emails with Gmail SMTP and Cloudflare routing:

More content: ๐Ÿ“š ๐Ÿ—ž ๐ŸŽง ๐ŸŽฅ โœ๐Ÿพ

Radoslav Stankov shared their slides from BalkanRuby about One engineer company with Ruby on Rails

Irina Nazarova shared their slides from Balkan Ruby about How to do well in consulting by Evil Martians

๐Ÿ—ž Newsletters

๐Ÿ—ž Hotwire Weekly published a new edition about Week 17 - Dark Mode with Tailwind/Stimulus, Animating Data Filtering, and more!

๐Ÿ—ž Ruby Weekly published a new edition about Auto-tuning your GC settings

๐Ÿ—ž Greg Molnar published a new edition about Rails Tricks change of direction and The tale of an XSS in Phlex

๐Ÿ—ž Awesome Ruby Newsletter published an edition about Awesome Ruby Newsletter - edition 414

๐Ÿ—ž Ruby On Rails published a new edition about Rails World 2024 tickets on April 30, legacy index name format for Rails 7.0, etc

๐ŸŽง Podcasts

๐ŸŽง The Ruby on Rails Podcast published a new podcast on her chat with Elise Shaffer - The Ruby on Rails Podcast Episode 514: Rails Camp! With Bobilee Hartman

๐Ÿ“ฝ๏ธ ๐ŸŽฅ Videos

Screencasts

๐ŸŽฅ Yaroslav Shmarov published a new video about Stripe Embedded Checkout form

๐ŸŽฅ Cody Norman published a new video about Dark Mode for Rails with Tailwind and Stimulus

๐ŸŽฅ Cezar Halmagean published a new video about Building a Property Management System (live stream)

๐ŸŽฅ Drifting Ruby published a new video about Episode 454 - Dev Containers | Drifting Ruby

โœ๐Ÿพ Articles

Whatโ€™s new ๐Ÿ†•

Akshay Khot is available as a freelancer and you should consider hiring him I am Available as a Freelance Developer

Greg Molnar published a new article about The dangers of single line regular expressions

Aestimo Kirina published an article about Should You Use Ruby on Rails or Hanami?

Apoorv Tiwari published an article about new update on rails Enhancing Rails Log Output with SQL Query Count.

Elvinas Predkelis published a new article about Ruby on Rails: Native route constraint for authentication

Cj Avilla published a new article about Caching ViewComponents

Breno Gazzola published a new article about Explaining Thruster, a new 37signals gem that speeds up your app

Colin Soleim published an article about Supercharging Rails: Enabling Ruby's YJIT Compiler in Production

Sam Ruby published an article about Fly.io โค๏ธ Kamal

Augusts Bautra published an article about Stop abusing before_action

Akshay Birajdar published an article about Reverse Find in Ruby

Dmitrii Krasnov published an article about Refactoring for Readability in Ruby: a Showcase

Ernesto Tagwerker published an article about Ruby & Rails Compatibility Table

How-TOs ๐Ÿ“

Roel Bondoc published an article about Shipping Rails logs with Kamal and Vector.

Michaล‚ ลฤ™cicki published a blog on Showing progress of background jobs with Turbo.

Katarzyna Melon Markowska published an article about N+1 in Ruby on Rails

Roel Bondoc published an article about Shipping Rails logs with Kamal and Vector

Adrien Siami published an article about Generate magic tokens in Rails with generates_token_for

Dom Christie published an article about Turbo & Progressive Enhancement

Bill Tihen published an article about Rails 7.1.x Secured Namespaced Controllers

Jarosล‚aw Kowalewski published an article about Table partitioning in Rails, part 1 - Postgres Stories

Deep Dives ๐Ÿ”

Peter Zhu published an article Autotuner: How to Speed Up Your Rails App

John Hawthorn published an article explaining why Ruby might be faster than you think

Reply

or to participate.