- Short Ruby Newsletter
- Posts
- Short Ruby News - Edition #74
Short Ruby News - Edition #74
Discover new dates for Ruby conferences in 2024, performance benchmarks, code samples, testing tips and new gems.
You can jump directly to a section:
More content: π π π§ π₯ βπΎ (articles, podcasts, videos, newsletters)
π New Products
π Scott launched Discover, Organize and Connect Through Events | Radius
π I (pre)launched a new project Ruby courses over email - follow along as I build it in public:
π Andrew Atkinson launched their PostgreSQL and Rails Consulting
π Events
π Blue Ridge Ruby announced the conference dates for 2024:
π Visuality announced the AfterParty for Ruby Warsaw Community Conference - 02.02.2024 - Winter Edition
π Ruby Unconf announced the date for the next Ruby Unconf:
π Toronto Ruby announced the date for the next meetup Toronto Ruby
π Euruko shared PaperCall.io - EuRuKo 2024
π Rails Conf shared the co-chairs for Rails Conf 2024:
π All about Code and Ruby
π PaweΕ DΔ browski shared Ruby was used for Gloden Globes ticketing and seat management system:
π Ruby Language announced that DataDog is becoming a sponsor of the language β About the Ruby Website
π Takashi Kokubun shared that Ruby 3.3 YJIT can speed up more kinds of workloads:
π David Heinemeier Hansson shared about performance of running SQLite in AWS:
Stephen Margheim added
π Marco Roth shared about the contributions to Hotwire.io website:
πAndy Croll asked about previous experiences at RailsConf. You can reply on Mastodon or on Twitter (X):
π Vladimir Dementyev shared a code sample showing a minimal HTTP request routing with pattern matching:
π Joel Drapper shared Rails request fingerprinting concern
π Ruby On Rails shared a tip about custom headers for direct uploads:
π PaweΕ DΔ browski shared about the need to sanitize the attachment name in Ruby on Rails:
π Dima Fatko shared a tip about debugging slow tests:
π Cecile Veneziani shared a thread about making Jupyter Notebooks work with Rails and VScode. Please read the entire thread (read on nitter) as I include here just the beginning of the instructions about how to configure it:
π Noel Rappin shared that Programming Ruby 5th edition is now in print:
π Hans Schnedlitz shared a code sample about configuring Kamal to load files like .env.production.local and .env.local:
π Hans Schnedlitz shared Leaky Bucket Rate Limiter in Ruby
π Joel Drapper shared about polymorphic relations:
Adam Daniels replied with an example:
πPostmodern shared that you can set breakpoint for ruby/debug: Debugging functionality for Ruby in multiple ways:
π Hristo Vladev shared a code sample of a helper for rendering Phlex components
π John Nunemaker shared they work on a new tracer for Ruby:
π Dima Fatko shared about testing performance:
π Bozhidar Batsov shared a link to the Rubocop section from parser-prism: A prism backend for the whitequark/parser gem
There is also an open discussion about how to make easier to run Rubocop with Prism at Make it easier to use RuboCop with Prism Β· Issue #12600 Β· rubocop/rubocop
π Igor Alexandrov shared Gihub ci.yml config to determine the Ruby version from .ruby-version file:
π Ben Sheldon shared about Rails cookies:
π Marian PosΔceanu shared benchmark results for serialization and compressions on local Redis (see 01_redis_set_results.md):
π PaweΕ DΔ browski shared a code sample about testing errors with RSpec:
π Stefanni Brasil shared about using rails notes to display TODOs from code:
π Jess Brown asked about a behavior change of round:
EustΓ‘quio Rangel shared the explanation Bug #12780: BigDecimal#round returns different types depending on argument
and provided also a possible solution to keep the old behavior:
π Rubycentralorg shared the new board member roles:
π J Ruby Dev Team shared that their newsletter is public at groups.google.com/u/0/a/ruby-lang.org/g/jruby
π θΌζεΌ¦δΉ shared a code sample of their work to run Hanami on AWS Lambda:
π Ruby Cademy shared a tip about using `reverse_order` instead of creating a new scope in Rails:
π David Heinemeier Hansson shared vanilla Javascript and Turbo 8 used for HeyHey Calendar:
π Ruby Cademy shared about speeding up bundle install:
and further explained why use make and not bundle βjobs:
π Josef Strzibny shared about how even the simplest test can help:
π Faraaz Ahmad shared how Rails help focus on business logic with an example from Active Job Basics β Ruby on Rails Guides
π Scott shared a code sample about structured data markup:
π Rob Zolkos shared about hiding flash alerts:
Here are some alternative solutions:
π Cj Avilla shared a code sample about collecting ActiveRecord models into a hash:
π Christopher Winslett shared advice to switch to the structure.sql for database dump in Rails:
π Jared Norman shared a code sample showing interpolated heredocs:
π Ruby Cademy shared a code sample about using flash.keep:
π§° Gems, Libraries, Tools and Updates
βΌοΈ π§° Upgrade to Puma 6.4.2 to not be affected by CVE-2024-21647 (puma): Puma HTTP Request/Response Smuggling vulnerability
π π§° Joshua Scharf published a new gem ruby-lsp-rubyfmt - A plugin for Ruby LSP that formats using rubyfmt
π π§° Andrey Novikov published a new gem called sidekiq-fair_tenant - Sidekiq middleware will re-route βgreedyβ clientsβ jobs to slower queues
π π§° Juan Carlos GarcΓa published a new gem called usual_suspect - Gem that tracks suspicious activity within your user sessions
π π§° Andrea Rocca announced a new version of GitHub - ilrock/rails-daisy-solid-template
π§° Stanislav Katkov announced a new version of POSH TUI
π§° Brooke Kuhlmann announced a new version for Infusible gem:
π§° Kevin Newton announced a new version for minitest-keyword: Use Minitest assertions with keyword arguments
π§° Nate Hopkins announced a new version of universalid: Fast, recursive, and URL-Safe serialization for any Ruby object
π§° Akira Matsuda announced a new version of database_rewinder | RubyGems.org | your community gem host
π§° Julik announced a new version of pecorino: Postgres-based rate limiter for Rails
π§° John Nunemaker announced a new version of Flipper 1.2.0
π§° Ro Rvs Wild announced a new version of orvswild: Performances & exceptions monitoring for Ruby on Rails applications
π§° Jeremy Evans announced a new version of Roda 3.76.0 Released Β· jeremyevans roda Β· Discussion #347
π€ Related (but not Ruby-specific)
π€ Xavier Noria shared about being busy:
π€ Jonathan Reinink shared about SPF, DKIM and DMARC:
π€ Marc KΓΆhlbrugge shared a tip about HTML:
π€ Adam Grant shared a study about Return to office:
π€ Matt Swanson shared a HTML code sample about using Tailwind group-disabled:
π€ Adam Wathan shared about starting a business:
More content: π π π§ π₯ βπΎ
π Newsletters
π This Week in Rails published a new edition about Ruby On Rails &Mdash; Updated Puma Configuration, Object#With Block Support, And More!
π Hotwire Weekly published a new edition about Week 02 - Using Turbo in Node.js, offline functionality for Turbo Native, and more!
π RubyWeekly published a new edition about All aboard the train to Rails 8
π Awesome Ruby Newsletter published a new edition about Issue 399 - Just discovered the !~ operator (the "not match" operator)
π Harrison Broadbent published a new edition about The RailsNotes Newsletter ISSUE #23
π§ Podcasts
π§ The Ruby on Rails Podcast published a new episode about The Ruby On Rails Podcast Episode 502: New Years Resolutions With Jemma Issroff
π§ Indie Rails published a new podcast about IndieRails | Jason Swett - Nothing About Service Objects
π§ Andrew Atkinson published a new podcast about 207 - My Consulting Work (featuring Andrew Atkinson)
π§ Jason Swett published a new podcast about 208 - Matt Swanson, CTO of Arrows
π§ Ruby For All published a new podcast about Exploring the Mind of a Content Creator β Bhumi Shah's Perspective on Learning and Sharing
π½οΈ π₯ Videos
Screencasts
π₯ CJ Avilla published a video about B Crypt Password Basics In Ruby and about Jupyter with Ruby and Rails (plus OpenAI function calling)
π₯ Dean DeHart published a video about How I Setup Rails 7.1 For Docker Development
π₯ Timnan Sheni published a new video about Episode 34 Introduction To Minitest
π₯ Drifting Ruby published a new video about Episode 437 - Action Auth
Talks
π½οΈ Avo published a new video showing all Avo 3 new features
π½οΈ Ruby Rogues published a new video about Andrew Atkinson - PostgreSQL, Ruby on Rails, High Performance PostgreSQL for Rails book and about John Nunemaker - Flipper
βπΎ Articles
Whatβs new π
David Copeland published an article about Ideas For Rails Conf
Ariel Juodziukynas and Fiona Lapham published an article about Ruby Conf 2023 β A Ruby Renaissance
Stephen Margheim published an article about SQLite In Ruby - Non-blocking timeout
Akshay Khot published an article about The Rails Config File (.railsrc)
Andy Obtiva published an article about Code Master Blog: Glimmer Goes Web!!!
Prasanth Chaduvula published an article about Ruby 3.3 Implements Range#Reverse each Method For Very Large Or Beginless Ranges And Error Handling For Endless Ranges
Alkesh Ghorpade published an article about Rails 7.1 Adds Path Params Option To Url For For Flexible Url Generation
Deep Dives π
Mohit Sindhwani published an article about Ruby Learning By Reversing: Native Gems, Part 7
I published an article about How To Find Method Definition In Ruby With irb
Ademar Tutor published an article about Understanding Big O Notation With Ruby and Hello AI World With Ruby!
Ahmed Nadar published an article about Mastering ActiveRecord::DelegatedType in Rails: A Comprehensive Guide and Simplifying Polymorphic Associations with Rails ActiveRecord::DelegatedType
How-TOs π
PaweΕ ΕwiΔ tkowski published an article about Reconfiguring Your Application Live With dRuby
Guillaume Briday published an article about How To Deploy Rails With Kamal, Postgre SQL, Sidekiq and Backups On A Single Host
Thomas Riboulet published an article about Keep Your Ruby Code Maintainable With Draper
Mateus Pereira published an article about Serving Active Storage Attachments Through A CDN
Gelsey Torres published an article about How To Use Brakeman To Find Rails Security Vulnerabilities
Miha Rekar published an article about Pagy Out, Turbo In: Transforming Pagination With Infinite Scrolling And Turbo
Dalia published an article about Adding "Created At" And "Last Updated" Dates To Jekyll
Avi Flombaum published a new article about How to Build a Turbo Frame Slide-Over
Jesper Christiansen published an article about Rails: Whatβs New Slide Out Drawer
Related
Wesley Aptekar-Cassels published an article about Consider SQLite
Reply