Short Ruby News - Edition #34
Briefly about everything happening in Ruby world - week 11 of 2023
You can jump directly to a section:
๐ย Our Community
๐ย All about Code and Ruby
๐งฐย Gems, Libraries, and Updates
๐คย Related (but not Ruby-specific)
More content: ๐ฅ ๐ง ๐ย (articles, podcasts, videos, and newsletters)
๐ค Founding Members supporting this newsletter
โ I am part of the organizing team for Friendly.rb conference:
There are early-bird tickets available and the call for speakers is still open in case you are considering submitting a talk proposal.
๐ Our Community
๐ rubyandrails.info is part of ShortRuby's effort to aggregate resources about Ruby. You can find there a good collection of books, courses, screencasts, newsletters, podcasts, communities and Youtube channels
If there is a resource that is not yet on the website, you can request to add it on the Github repo
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F37f4be3d-0bd4-4478-8863-9d740db34af6_1422x586.png)
๐ Adrian Marin shared their gratitude for the work Xavier Noria is doing in the community:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F285c0400-8f3f-4334-a6ab-2ee582077cce_1196x656.png)
Adrian also shared a link to a discussion where Xavier explained in depth how autoreload works in Ruby on Rails and how Zeitwerk comes into play: [Question] Are classes in nested directories not auto-reloaded with `push_dir`?
๐ Pragmatic Programmers asked what the biggest advantages of using Rails today are:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4adcb380-7d22-4c03-8346-4ebcbade6411_1196x388.png)
Here are two of the answers:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F476e65aa-17ac-43fa-a67b-d10a73aefa45_1182x282.png)
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf5a32e6-9808-459f-9663-a7436e0ed733_1174x284.png)
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ab4cb71-473a-40e5-bd49-7658e1913129_1178x238.png)
๐คRobby Russell invited us to be greateful and endorse our colleagues:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd7ef04ab-5ea9-41ef-a47b-4ed0e7b42537_1196x674.png)
๐ค Blue Ridge Ruby shared their final agenda for June 2023 in Asheville, NC
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97c738b5-9204-4d6f-b87c-e1c9df396d19_1198x1104.png)
๐ค Emmanuel Hayford announced a new podcast called The Rails Changelog
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44014e9a-88b4-406b-9e98-578f9627d4b0_1200x1172.png)
๐ค Nate Berkopec asked how we can make the Ruby on Rails API docs more SEO friendly:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4f054f95-99b1-4f9d-abda-682700feba87_1196x390.png)
๐ DHH shared they started a discord for MRSK Discord - A New Way to Chat with Friends & Communities
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F907c7eba-e510-4632-ac33-61dbd91a534a_1256x696.png)
๐ค Enjoy the free subscription to Short Ruby Newsletter! Subscribe to receive it weekly in your inbox:
You can support this Ruby community for just $1.5/week ($6.5/month) by becoming a paid subscriber. Your contribution aids growth and maintains the quality of ShortRuby for everybody:
If you consider upgrading and want more information, please read Why to subscribe to paid
๐ All about Code and Ruby
๐Benoit shared an image showing a performance made using Perfetto UI
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F170715b0-4c5b-4719-946e-76c28e034fed_1286x870.png)
๐ Joel Drapper shared a code sample showing how to stream a view in phlex-rails:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F310b3efc-4de8-4457-83eb-ac3137026f05_1286x924.png)
He also added a code sample about an async API request:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54bfa3e8-957e-45cf-9bb5-e03e417b9c4b_1286x1392.png)
๐ Tim Riley announced a new ERB engine that will be used in Hanami 2 view layer (check the PR here):
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe2113ec0-db3b-4b82-8bde-cacbd2d3587d_1282x752.png)
๐Esparta shared a code showing how to use coerce
(see class Integer#coerce):
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbba7fb05-d416-432c-bed5-d037ee0b1edd_1282x1128.png)
๐ Josef Strzibny shared a thread about gems:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F41e65f31-0710-43cf-9194-1f076d66e83a_1196x506.png)
Here is the list of the gems:
fasterer: Don't make your Rubies go fast. Make them go fasterer
geared_pagination: Paginate Active Record sets at variable speeds
prosopite: Rails N+1 queries auto-detection with zero false positives / false negatives
n_plus_one_control: RSpec and Minitest matchers to prevent N+1 queries problem
There are a couple of replies to the last tweet that contains more gem recommendations.
๐Steve Polito shared a sample code showing how to click on links inside emails when doing integration tests in Rails:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0e037e0c-de59-4c78-b707-7bf8b0640e88_1686x1818.png)
๐Adrien Poly asked if in Rails 7, there is still a need to use database_cleaner gem:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdaa5676a-4e08-450c-b146-5f49477f66e4_1196x490.png)
The general response is no.
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4db61862-8963-4bef-a064-a192b152111f_1196x352.png)
๐Rishi Pithadiya shared an explanation about two configuration options for Rails:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8cc0c5ac-352e-41cc-8e19-40ef9ec2e3ba_1200x1358.png)
๐ Stanislav (Stas) Katkov asked what tricks people use to reduce memory consumption in Ruby:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba97b899-942f-4a20-9522-33e205b55d21_1196x598.png)
๐ Scott Watermasysk shared a code sample showing Quick Ruby implementation of https://www.npmjs.com/package/clsx
๐Maxime Chevalier shared a performance comparison between latest CRuby with the interpreter only vs CRuby with YJIT enabled:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38dcc7e7-1562-4839-843f-0f05596732d0_1200x976.png)
๐Omkar Joshi reminded us about link_to_if in Rails:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7a4f5782-4c6c-496b-bd0c-2ef8745d2538_1200x884.png)
Talking about conditionally rendering things there exists:
๐ Andrea Rocca continues the series about Hotwire. Here is a screenshot from only one of the many tips shared this week:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Face2893b-ad7c-4c0c-9ac6-60421f693929_1200x1342.png)
Here is the full list of all threads Andrea shared this week:
Hotwire tip 24/30 Gmail-style bulk select (source)
Hotwire tip 25/30 Reddit-like lazy loaded nested comments (source)
Howire tip 26/30 Fancy scroll animations with Stimulus (source)
Hotwire tip 27/30 Full Calendar with stimulus target callbacks (source)
Hotwire tip 28/30 Custom turbo destroy dialogs (source)
๐Ryan Bates asked how do we handle pagination in automated tests:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F05b98617-cb7c-43a2-91f7-2af8c6172dc2_1194x438.png)
Here are some of the answers:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff9879f3f-998b-433c-a147-503af786d677_1190x484.png)
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b9f9079-eb93-429c-a0e2-7990aa04e602_1196x400.png)
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F97b48e56-3c91-4438-8c61-c9691a0cc2fe_1188x286.png)
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F28bc6650-bb84-4246-a199-0683e5311f8b_1196x286.png)
๐Brad Gessler shared a code sample about:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffab2be5b-f3eb-421c-9964-4562eb5c95a2_1188x1682.png)
๐Simon Chiu shared a tip for debugging Turbo Streams:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff692706a-33c1-46f3-823c-a0dda84e1f8c_1196x516.png)
๐Chris Oliver shared a code sample showing a Hotwire tip about using Element.scrollIntoView() - Web APIs | MDN
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6f4ffc49-402f-4672-8258-008b29c4b931_1200x1208.png)
๐Prabin Poudel shared a code sample showing how to use thor to write an overcommit config file:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8e0f9253-1a22-4a72-85fb-e63aa7a5e849_1132x1488.png)
๐Andrew Culver shared a small snipped that uses Ruby gsub to replace the content inside a file bullet_train/portable-string-replace
๐Jess Brown shared how they use table_print ruby gem:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2f22f17e-2163-454c-aa72-ba4036b5e783_1200x1034.png)
๐Sam Saffron shared a code sample about using ChatGPT as a writing assistant
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdb56ec5d-b320-4721-a3fe-d539ba4b61ef_1196x376.png)
Here is a snippet from the GitHub gist:
If you like this content and want to receive it every week by email
๐งฐ Gems, Libraries, and Updates
๐งฐ Ruby On Rails announced new versions to fix two vulnerabilities Rails 7.0.4.3 and 6.1.7.3 have been released!
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5db770a4-947c-44a0-98ed-adf9e294d08a_1196x386.png)
You can read the discussions here:
[CVE-2023-28120] Possible XSS Security Vulnerability in SafeBuffer#bytesplice
[CVE-2023-23913] DOM Based Cross-site Scripting in rails-ujs for contenteditable HTML Elements
๐งฐ Joel Drapper shared a PR for Phlex where they are showing how to implement Smart chunking:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdfd75dba-4a86-4e0b-8bef-ffbef53c29d1_1282x604.png)
๐งฐ The J Ruby Team shared they released a new version of PostgreSQL driver that passed 99.8% of AR tests:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc29c5cb-c3f2-4eeb-978d-461de491c036_1282x444.png)
๐งฐ Shibata Hiroshi shared a PR they merged where they combined the cops from Bundler and RubyGems. Merge rubocop configuration: 2nd PR. Check the commits - each one contains one cop
๐งฐ Jean Boussier shared a PR they are working on for Rails about PoC: Cache Extended Collection Proxies
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7678b231-f616-4106-956c-f46ece44b362_1280x546.png)
You can check the conversation on Ruby.social here and the one on Twitter here
๐งฐ Camilo announced the release of standardrb v 1.25.0. Checkout the release notes
๐งฐ Scott Watermasysk shared thei clsx/index.js at master ยท lukeed/clsx
๐งฐAvo announced they reached 1000 stars on GitHub and announced a new release, read the changelog or the thread:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4026c1f5-f623-4a5f-85f1-56a1e2532d9d_1196x670.png)
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb60b66f0-c4d9-460f-9f49-d105f49a3b84_1942x558.png)
๐งฐMaciej Mensfeld shared an update about Kafka topics as code - declarative Kafka topics management in Ruby - Closer to Code
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffa22938f-ccb5-4f27-9856-ad18e6612935_1198x1302.png)
๐งฐPaweล ลwiฤ tkowski announced they open-sourced their Hanami 2 app at katafrakt/palaver: a toy forum software in Hanami 2
๐งฐ Greg Molnar shared that Active Support 7.1 will Implement `Object#with`
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0802a90-44b4-41bf-85b2-2179dced2803_1200x1168.png)
๐งฐ Carlos Antonio shared a PR they work on for Devise gem about Respect locale set by controller in the failure app
๐ค Related (but not Ruby-specific)
๐คPaul Mucur shared a tip on how always to run a step in GitHub Actions, even if a preceding step fails (see Expressions - GitHub Docs)
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F078ee994-8c27-400d-80ee-f92be13e03c7_1282x546.png)
๐ค Nate Berkopec shared a tip about changing the ratio when doing benchmarking:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc1b8b4bd-fc9e-4065-b560-813fc7ef3ede_1282x516.png)
๐คPaul Cantrell shared what they think is hard or important in the job of a programmer:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F59f02b43-84b8-4554-9aac-a11fa8d40db0_1282x694.png)
๐ค Jhey Tompkins shared a future proposal for HTML to display a popover (check the codepen):
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0238930b-f2d1-4cc9-87d3-c737ed8c634f_1282x864.png)
๐คJess Brown shared a short alias that helps with switching to another branch
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F66b94548-6158-4d4f-8757-3e973381d70e_1200x1090.png)
๐ค Shiva shared a new thread about GeoSpatial commands with Redis:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4f8c399-b0b4-4e3f-bdf4-65875792596b_1200x1178.png)
๐คMike Coutermarsh shared an insight (funny but also mostly true) about code that initially was named a hack but remained in production years:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fce23134c-66e3-4a59-9732-3a0e20981ef3_1196x456.png)
๐คMoncef Belyamani shared a thread about their consultancy business:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F463a0644-f58f-4314-a313-286a85ba3c55_1196x554.png)
Here is the main part that Moncef shared, but you should read the entire thread
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F57d1790d-b745-405b-9a46-439d8797558c_1196x1136.png)
๐ค Eleftheria Batsou asked about tools used by developers to save time and speed up development:
![](https://substackcdn.com/image/fetch/w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F33c652c4-2e43-4b05-a0fa-4e93fafec34c_1196x380.png)
She received a lot of replies, and she gathered them in an article From TDD to AI: Techniques & Tools for Devs, Save Time & Speed up Your Development Process
If you like this content and want to receive it every week by email:
More content: ๐ฅ ๐ง ๐
๐ Newsletters
๐ Emmanuel Hayford published a new edition of This Week in Rails about TestFixtures#fixture_path deprecation, FinderMethods#find support f...
๐ Ruby/Rails performance newsletter published a new edition about All performance metrics exist on a spectrum from low to high level
๐๏ธย Ruby Weeklyย published a new edition:ย Deep dives into Rails routing and WASI
๐ Ruby Radar published a new edition Ruby Radar #94 - Protips
๐๏ธย Ruby LibHuntย published a new edition of theย Awesome Ruby Newsletter
Podcasts
๐งThe Ruby On Rails Podcast published a new episode The Ruby on Rails Podcast Episode 461: ccyalater and Merge Conflict Hit the Track! (with Colleen Leonard)
๐งRuby For All published a new episode about From Bootcamp to Community Advocate and Mentor | Ruby for All | Episode 34
Videos
Talks
๐ฝ๏ธMoncef Belyamani published their video about Setting Up a Personal Mastodon Instance
๐ฝ๏ธ Jason Swett published a new episode of Code With Jason Meetup about Abstraction (2023-03-16)
๐ฝ๏ธ Drifting Ruby published the video version of This Week in Rails - March 17th, 2023
๐ฝ๏ธ The Rubber Duck Dev Show published a new episode about Things Your Editor Should Have with Amir Rajan
๐ฝ๏ธ Paweล Strzaลkowski published a Webinar about Domain Modeling in Ruby on Rails with introduction to Domain-Driven Design
Screencasts
๐ฅYaroslav Shmarov published new videos:
Ruby on Rails #117 Find code security vulnerabilities with Bearer static code analysis tool
Ruby on Rails #118 Dark mode. Toggle inside your app or use OS default preferred color scheme
๐ฅDeanin published new videos
Toast Notifications with Tailwind and Stimulus | Ruby On Rails 7 Tutorial
Stimulus Polling for Frontend No Refresh Updates | Ruby on Rails 7 Tutorial
๐ฅ Justin Searls published a new episode of their series Searls After Dark #4 - Refactoring vs. Testing
๐ฅ Equivalent shared a video created about Build a View Component library in Rails with LookBook
๐ฅ The Rubber Duck Dev Show published a new video from the series Coding with Chris about Cave Lords Part 9: Test Fixing and Play Map - Coding with Chris
๐ฅPete Hawkins published new videos
๐ฅ Adam Pallozzi published a video on Twitter about Using ActiveStorage to upload large files in chunks
๐ฅ Amir Rajan published a video about DragonRuby Game Toolkit - Gameplay recording and replay capabilities in action.
Articles
Whatโs new
Joseph Izaguirre published an article about How I got my first Rails job โ โIโm saying that when it came time to choose which language and framework to learn, I looked where everyone else was going, and I went the other wayโ
Rafael Montรกs published a new article about Implementing Data Structures in Ruby: Arrays
How-Tos
Andy Croll published a new article about Assign a default value to an attribute in Active Record โ โIf you ever needed to set a default value in an instance of an Active Record model, you probably used a callback. Since Rails 5.0 thereโs been a better way.โ
Sulman Baig published a new article about Clean Code Tip: Create a Service Object and Improve Your GraphQL Mutations in Rails
Felipe Vogel published an article about Parsing text in Ruby, part 1
Aestimo Kirina published an article about Working With Markdown in Ruby
Kon Yu published a new article about How to debug Rails running on Ruby 3.1 using VSCode and Dev Containers
Carla Urrea Stabile published a new article about Add Authorization to a Sinatra API using Auth0 โ โLearn how to implement a Sinatra API and protect its endpoints using Auth0โ
Steve Polito published an article about How to click links in Rails Mailers when writing tests
Benito Serna published an article about how to Use after_touch to avoid to handle race conditions saving computed values โ โWhen saving computed values in the database in your rails app, you must be aware that is possible to find unexpected errors in the result thanks to race conditions.โ
Miriamfark published a new article about Using Action Mailer to Send Emails from a Rails App
Moses Gathuku published an article about Custom Rails form submit debounce โ โIn some cases, this isnโt necessary, but this technique can drastically improve network overhead if costly server requests are involved. The form submit event is only triggered when the user finishes typing"
Suraj Mishra published an article about Must-know hash initialization tricks inย Ruby
Max Braga published an article about RSpec for Rails: Advanced Techniques #3 - Metadata
Deep Dives
Dhaval Singh published an article about Why Every User Without a Profile Picture on GitHub Was Yehuda Katz
Lucas Barret published a new article about Mastering PostgreSQL Views and CTEs for Rails Developers: A Comprehensive Guide
Faraaz Ahmad published a deep dive article into Ruby 3.2's WASI Integration: A Closer Look
Akshay Khot published a deep dive into Understanding the Rails Router: Why, What, and How
Related
Kent Beck published a new article about Fool Proof Design โ โWeโve talked frequently about the cost reduction aspect of design change, but always from the perspective of making the changes we want to make. Thereโs a lurking cost, however, that Iโm starting to realize deserves more attentionโ
Lauren Ellsworth published a new article about Uniqueness in PostgreSQL: Constraints versus Indexes โ โConstraints and indexes come at a cost: they add write overhead with each INSERT and UPDATE and they can take up significant amounts of space. Since a unique constraint and a unique index both enforce uniqueness, which one should we prefer? And are they different?โ
๐ค Founding Members supporting ShortRuby
Drew Bragg, host of Code and the Coding Coders who Code it
Avi Flombaum, the founder of Flatiron School, is a product engineer interested in full-time/contract work.
Adrian Marin, creator of Avo - a Ruby on Rails application building framework
Adam McCrea, creator of Judoscale (formerly Rails Autoscale)โtheย dead-simple autoscalerย for Rails, Sidekiq, etc.
Stephen Ierodiaconou from www.diaconou.com
Harry Lascelles
Jason Charnesย from Remote Ruby
Andy Croll fromย One Ruby Thingย and FirstRubyFriend
Read more about what is a Founding Member or about Why pay for ShortRuby newsletter
It's amazing to see how much ruby content is produced every week ๐ฑ