- Short Ruby Newsletter
- Posts
- Short Ruby News - Edition #85
Short Ruby News - Edition #85
The one where we discuss Ruby maintainability, how to convince C-level people to keep using Ruby, and that 2023 was the year with the most contributions to Ruby
You can jump directly to a section:
๐ New Products & ๐ Events
๐ All about Code and Ruby: ๐ป Code, ๐Code Design,๐กAround, โค๏ธ Why Choose Ruby
๐งฐ Gems, Libraries, and Updates: ๐ New, ๐งฐ Updates and ๐ Keep an eye on
More content: ๐ ๐ ๐ง ๐ฅ โ๐พ (articles, podcasts, videos, newsletters)
[Promo โฌ] RailsCamp
Rails Camp USA is an outdoorsy un-conference series focused on connecting developers worldwide at summer camps in different locations across the US. Our community is a place where tech conference attendees can relax and unwind. We engage in outdoor activities, collaborate on side projects, network, practice conference talks together, and have fun with kayaking, board games, hammock lounging, and karaoke. Our scholarship program covers ticket costs and potentially (with enough funding) cover travel expenses for those who need it.
๐ New Products & Discounts
๐ Josef Strzibny launched the Kamal Handbook.
๐ธ If you want a 10% discount, buy from this affiliate link. Josef was kind enough to offer a discount for our Short Ruby Community.
๐ธ Andrew Atkinson offered Short Ruby Community members a 35% discount using the code SinCityPostgreSQL at checkout, a courtesy offer for the occasion of Sin City Ruby. Buy at Pragmatic Bookshelf and use the code SinCityPostgreSQL
๐ Obie Fernandez pre-launched a new book Patterns of Application Development Using AI
๐ Olly Headey launched Pagecord - Effortless blogging from your inbox
๐ Events
๐ Friendly.RB announced the first batch of speakers for this year's edition. Tickets are available at Friendly.rb
๐ Eu Ru Ko shared that the conference will only be in person and reduced the pricing by 10EUR โ EuRuKo.org
๐ Ruby Conf announced the date for RubyConf 2024 โ Chicago, IL โ November 13โ15, 2024: Sign-up to learn when more information about RubyConf is available!
๐ Helvetic Ruby announced CFP open for lightning talks Helvetic Ruby 2024 lightning talk submission
๐ Geneva Ruby Brigade announced a new meetup in Geneva RSVP here
๐ Balticruby announced a junior track
๐ All about Code and Ruby
๐ป Code Samples
๐ Ruby On Rails shared a code sample showing how to use where with a hash condition where keys represent fields:
๐ Charles Oliver Nutter shared about making Ruby __method__ / __callee__ 10x faster in next JRuby version:
๐ Rรฉmy Hannequin shared a code sample showing how to use astronoby gem to calculate the location of the Sun in the sky:
There are more examples in the thread Remy shared
๐ Kevin Newton shared a code sample showing writing to a local variable with named capture groups:
๐ Ahmed Nadar shared about how to set turbo cache to false:
๐ Ruby Cademy shared about using touch_all:
Robert Starsi added:
๐ John Mc Dowall shared about using Rails inflector:
๐ Joel Moss shared a code sample showing how they are planning to implement signature type checking at Runtime:
When comparing with Sorbet:
Joel also published a gem called delivered on Github.
๐ Juraj Kostolanskรฝ shared a rake task to keep only the last N container images in Github:
๐ Prabin Poudel shared about skipping all tests inside a folder in RSpec:
๐ Nate Hopkins shared Kamal Configuration
๐ Greg Navis shared a thread about Rack::Runtime. I am including here just the first post:
๐ Jan Klimo shared a reminder about the string column in Rails + PostgreSQL:
๐ Ruby Cademy shared a tip about running db:system:change to change the database,yml file:
๐ Nate Hopkins shared about using rails routes and fzf:
๐ Nate Hopkins shared a code sample showing whatโs coming in turbo_boost-commands
๐ Fabian shared a code sample from websocket-client-simple/lib/websocket-client-simple/client.rb at master ยท ruby-jp/websocket-client-simple
๐ Thinking about Code Design
๐ Matt Swanson shared about Hotwire:
๐ Stephen Margheim shared about how to configure SQLite to be ready for production:
Until Rails 8 the recommendation is to use this gem activerecord-enhancedsqlite3-adapter or the litestack
He also added later:
๐ Matheus Richard shared about naming concerns/traits as nouns:
๐ Mika Henriksson asked a question about multi-step form build with Bootstrap tabs:
Here are some replies:
A step by step tutorial about how to build a multi step with Hotwire was sharaed last year by Andrea
๐ Matt Swanson asked about using solid_queue for 6M jobs per day:
Here is an excellent reply from Rosa, the author of solid_queue gem:
๐ Ryan Bates shared about the maintainability of Ruby:
There are replies on both Twitter and Ruby.Social. This is a good conversation to have about how to write maintainable Ruby code. I am selecting here some replies:
๐ Nate Hopkins asked about guarding against potential nil values:
Here are some replies:
๐ Samuel Williams asked about recommendations of Gems for Rails for tracking and logging Active Record field access:
๐ Brian Casel asked about how to use Hotwire in Rails. See the short video they presented describing the issue:
Some replies:
๐ John Mc Dowall shared a tip about Rails domain modelling:
๐ Gavin Morrice asked about using jsonb column types to define flexible data store:
Some replies:
๐ก Around code (news, findings, books and more - all about Ruby)
๐ Ruby On Rails shared two more guides are refreshes and invited for review and feedback: [RF-DOCS] Action View Overview Guide [ci-skip] by bhumi1102 ยท Pull Request #51435 ยท rails/rails
๐ John Gorriceta shared they want to read more content about building startups with Rails:
and it seems like Rails Foundation is working on it:
๐ Robert Pankowecki shared about using difftastic with Ruby:
๐ Matt Swanson shared a VSCode extension for multi-line commenting in ERB files ERB Commenter - Visual Studio Marketplace
๐ Martin Yanchev asked about creating beautiful emails:
Here are some recommendations:
๐ Jeremy Smith shared a thread about Sin City Ruby and why it is good to participate to conferences:
โค๏ธ Why Choose Ruby
โค๏ธ Xavier Noria shared about working on Zeitwerk for 5 years:
โค๏ธ Irina Nazarova shared about the experience at SinCityRuby:
โค๏ธ Igor Alexandrov asked about how to convince a C-level officer that thinks Ruby is dying:
Here are some replies:
โค๏ธ Prabin Poudel shared about the Ruby community
โค๏ธ Zack Gilbert shared about the direction Rails is headed:
โค๏ธ Nate Hopkins shared about the simplicity of Rails + Propshaft + Importmaps:
โค๏ธ Mike Coutermarsh shared about the benefits of having a Rails console:
โค๏ธ gaultierq asked on /r/rails about:
Here are some replies:
๐งฐ Gems, Libraries, Tools and Updates
๐ New Gems and Repos
๐ Radan Skoriฤ announced a new project called Interactive Ruby Debug Tutorial
๐ Ryan Bates announced a new fork of prettier-plugin-tailwind to make it work in ERB:
๐ Joel Moss announced a new gem delivered: Simple runtime type checking for Ruby method signatures
๐ Matt Schwager published a new gem called ruzzy - A coverage-guided fuzzer for pure Ruby code and Ruby C extensions
๐งฐ Updates
๐งฐ Stephann V. shared that overmind can be installed via Ruby overmind/packaging/rubygems/README.md at master ยท DarthSim/overmind
๐งฐ Rรฉmy Hannequin announced a new version of astronoby - Ruby library based on astrometry books
๐งฐ Ryan Bates announced a new version compatible with Ruby 3.3 for ruby-warrior: Game written in Ruby for learning Ruby
๐งฐ Chris Oliver announced a new version of excid3/receipts: Easy receipts and invoices for your Rails applications
๐งฐ Samuel Williams announced a new version of Introduce `Async::Task#defer_stop` by ioquatix ยท Pull Request #310 ยท socketry/async
๐งฐ Alex Rudall announced a new version of Release v6.4.0 ยท alexrudall/ruby-openai
๐งฐ Allison shared a script to check for undocumented gem incompatibilities with Rails 7.1 see the discussion on Reddit at From the rails community on Reddit: Undocumented gem incompatibilities with Rails 7.1 and the script is at incompat_71.rb
๐ Keep an eye on
๐ Jean Boussier proposed a new feature request for Ruby about ObjectSpace.dump_all(string_value: false): skip dumping the String contents
๐ค Related (but not Ruby-specific)
๐ค Michael Buckbee published a guide about blocking AI bots:
๐ค Thomas Roccia shared an image with the XZ attack:
More content: ๐ ๐ ๐ง ๐ฅ โ๐พ
๐ฝ๏ธ Slides
๐ฝ๏ธ Vladimir Dementyev published the slides from [SF Ruby, March 2024] Rails on Wasm
๐ฝ๏ธ Irina Nazarova also published their slides about How to do well in consulting by Evil Martians
๐ Newsletters
๐ Ruby Central published a new edition of March 2024 Newsletter
๐ Emmanuel Hayford published a new edition about Retry known idempotent SELECT queries, New Active Record configurat...
๐ Ruby Weekly published a new edition about Recurring tasks come to Solid Queue
๐ Ruby Libhunt published a new edition about Issue 410 - Being laid off in 2023-2024 as an early-career developer
๐ Hotwire Weekly published a new edition about Week 13 - Happy Easter!
๐ง Podcasts
๐ง The Bike Shed published a new podcast about The Bike Shed: 420: Test Database Woes
๐ง The Ruby on Rails Podcast published a new podcast about The Ruby on Rails Podcast Episode 512: RailsConf With Ufuk Kayserilioglu
๐ง Jason Swett published a new podcast about 216 - Andy Croll, Co-Chair of RailsConf 2024 - The Code with Jason Podcast
๐ง Ruby For All published a new podcast about The State of Debugging in Ruby โ A Puts-tastic Journey
๐ง Ruby Rogues published a new podcast about Leveraging SQLite in Web Development - RUBY 630 - Ruby Rogues
๐ฝ๏ธ ๐ฅ Videos
Screencasts
๐ฅ Chris Oliver published a new video about Refactoring local variables by extracting methods can help make testing, extending classes, and other things easier
๐ฅ Jason Swett published a new video about What is REST? - Mentorship Session with Jonathan Hilliard
๐ฅ Jose Farias published a new video about Swappable Data Providers (3/3) | Maybe Finance | Ruby on Rails Live Coding
๐ฅ Jason Swett published a new video about TDD'ing an ASCII Table - Mentorship Session with Kyle Law
๐ฅ Kasper Timm Hansen published a new video about Riffing on Rails: Onsite modeling for Dispatchers
๐ฅ Cezar Halmagean published a new video about Building a Property Management System (live stream)
๐ฅ Drifting Ruby published a new video about Episode 449 - Previous/Next Record | Drifting Ruby
๐ฅ Igor Alexandrov published a new video about Episode #1 โ Basecamp's Kamal code walkthrough
๐ฅ Dean DeHart published a new video about Building my SAAS Deanout for Game Hosting on Rails
๐ฅ Roland Lopez published a new video about The Power of pgvector and Embeddings using ruby on rails
โ๐พ Articles
Whatโs new ๐
Felipe Vogel published an article about Being laid off in 2023-2024 as an early-career developer
Stefanni Brasil published an article about thoughtbot at Sin City Ruby 2024. Andrew Atkinson also published an article about Sin City Ruby 2024
Ruby Central published a new article about RailsConf 2024 - Speaker Spotlight - Chris Oliver
Sam Saffron published a new article about Crafting Web Browser Specs for Discourse AI - AI Conversation - Discourse Meta
Piotr Jurewicz published an article about Do you tune out Ruby deprecation warnings?
Joรฉ Dupuis published an article about 14 tools and gems every Ruby developer would love: My favorite for Ruby feedback loops, performance and debugging, and data management
Greg Molnar published a new article about Secure code review checklist
Reni Mercier published an article about Pick a standard and move on
Iddrisu Salley published an article about Ruby most useful Hash methods
Juraj Maลฅaลกe published a new article about Searching for the first job with rails backend
Jared White published an article about Ruby, Fully Stacked
Ben Sheldon published an article about Rails Active Record: Will it bind?
Mathieu Eustachy published an article about What is a Ruby implementation?
David Boureau published an article about Rollup vs Esbuild for Rails
Deep Dives ๐
Joe Masilotti published a new article about Turbo Native iOS and Android apps in 15 minutes
Dmitirii Ivliev published an article about Rails Timestamping Guide
Jan Bajena published an article about Mastering Large Backfill Migrations in Rails and Sidekiq
Akshay Khot published an article about Build Your Own Router in Ruby
How-TOs ๐
Hans Schnedlitz published an article about Porting a Ruby Gem to the browser with ruby.wasm
Jack Curtis published an article about Creating Passkey Authentication in a Rails 7 Application - The Gnar Company
Steve Polito published an article about Configure GitHub Actions to work with rspec-rails
Gavin Morrice published an article about Using JSONB columns to create pseudo-attributes in Rails
RailsDesigner published a new article about Data-Attributes Magic with Tailwind CSS & Stimulus
Ariel Juodziukynas published an article about Speeding Up Assets Precompilation
Alkesh Ghorpade published an article about Keeping your database migrations strong with strong_migrations gem
Related
Yukihiro Matsumoto published an article about t ใไธๆฉๅซใชไธๅธใใ้ใใใฎใฏๆญฃใใใใใพใคใใจใใใฒใๆฐใ่ชใใๅฟใฎๅฅๅบทใๅฎใใใญใฃใชใขใ้ทๆใกใใใๆนๆณ (read EN version translated with Google Translate at Health is the best survival strategy)
Cody Norman published a new article about Entering my Purple Cow Era
Ahmed Nadar published a new article about Your true value beyond the job title
Pascal Lalibertรฉ published a new article about Level 3 Sharpening: Generate New Product Ideas
Reply