Short Ruby News - Edition #68
Discover the world of Ruby in this comprehensive newsletter covering week 46 of 2023. Find code samples, community updates, gems, resources, and thought-provoking discussions.
You can jump directly to a section:
π New Products & π Events
πΒ All about Code and Ruby
π§°Β Gems, Libraries, and Updates
π€ Related (but not Ruby-specific)
More content: π π π§ π₯ βπΎ (articles, podcasts, videos, newsletters)
I will send a special edition newsletter with more Black Friday deals (like the ones below) for Ruby developers on Wednesday or Thursday.
If you have a product built with Ruby or a product/service/book/course for Ruby developers and offer a discount, please write to me at deals@shortruby.com by Tuesday morning to include it in the special edition.
[Sponsors β¬] (with affiliate links - use them to support this newsletter)
Business Class kit is a Rails SaaS template integrated with Paddle and offers a lot of already built-in functionality out of the box. Buy at 60% discount (affiliate link)
Say goodbye to Ruby installation issues on your Mac with Ruby on Mac. You will always be less than 15 minutes away from a clean Ruby dev setup. Use discount codes at RubyOnMac.dev (affiliate link)
π New Products
πΒ Ahmed NadarΒ launchedΒ RapidRails UI Components for Ruby on Rails
πΒ Β Ryan CaldwellΒ launched a newΒ Rails SaaS Template
π Events
π Β VisualityΒ announced theΒ Ruby Warsaw Community Conference - 02.02.2024 - Winter Edition
π Β ThoughtbotΒ announced thatΒ The Ruby devroom is back at FOSDEM. You can submit a talk at fosdem.rubybelgium.be:
π Β Sergy SergyenkoΒ announced a new Ruby conference:
π All about Code and Ruby
π Stan LoΒ sharedΒ about the recent progress of IRB:
πΒ John NunemakerΒ sharedΒ about organizing tests so that they can be removed easily when the feature is deleted:
π Helio ColaΒ sharedΒ about the memory performance on Fly.io running on jemalloc:
πPrem SichanugristΒ sharedΒ a code sample simulating an Enumerable#pluck that would go through methods:
πΒ Yaroslav Shmarov sharedΒ a code sample about creating a component for Rails 7:
πΒ BhumiΒ sharedΒ about Ruby tap method:
πΒ Lucas BarretΒ asked about Ruby classes:
Here are some replies about this topic:
Lucas asked another good question about:
and Jean BoussierΒ sharedΒ Implement MatcherDelegator using the BlankSlate pattern by casperisfine Β· Pull Request #1434 Β· rspec/rspec-expectations
πΒ Pragmatic ProgrammersΒ sharedΒ a photo from the beginning of RubyConf in 2001:
πΒ Brian Armstrong sharedΒ about the Rails documentary:
π Xavier NoriaΒ announced they are working on a book:
πΒ Willem SpruijtΒ sharedΒ about the decision to use Ruby:
πΒ John NunemakerΒ sharedΒ about ActiveSupport Gzip:
Donβt forget to check the two sponsors of this edition:
- Business Class kit is a Rails SaaS template integrated with Paddle and offers a lot of built-in functionality to get started. Buy with 60% discount (affiliate link)
- Ruby on Mac - Get a clean Ruby dev setup in just 15 mins. Use discount codes (GETUNSTUCK50
or GETUNSTUCK40
) at RubyOnMac.dev (affiliate link)
You can get an ad-free experience for only $7.5/month and help us maintain our quality for everyone.
π Chris WanstrathΒ sharedΒ that Ruby on Rails was a big part of Github early success:
πΒ Georgie BoyΒ sharedΒ a code sample showing PhlexUI::Base:
πΒ Sebastian WilgoszΒ sharedΒ a diagram about Hanami:
πΒ Naofumi Kagami ε γ ηΎη΄ε²Β sharedΒ about Ruby community:
πΒ Ruby For GoodΒ sharedΒ why they choose Ruby and shared theΒ A peak behind the curtain article from the creator of Lectronz:
πΒ David Heinemeier HanssonΒ sharedΒ the discussion on HackerNews (currently at 239 comments) about Ruby on Rails: The Documentary [video]
πΒ Josef StrzibnyΒ asked about running a background job while waiting for a sync result from the job:
Here are some of the replies:
πΒ Naofumi Kagami ε γ ηΎη΄ε²Β sharedΒ about logic in controller and views:
πΒ Joe MasilottiΒ sharedΒ about how small the iOS quick start guide will be after Turbo Navigator will be merged:
πΒ Dhaval SinghΒ sharedΒ about the difference between .to_i and .to_int in Ruby:
πΒ Matt SwansonΒ sharedΒ about using separate Redis databases:
πΒ Rob ZolkosΒ asked about the magic comment for frozen string literals:
Here are some of the replies:
And there were a couple of resources recommended:
Freezolite: Automatically Add Frozen String Literals To Selected Files At Compile Time
Use frozen string literals by technicalpickles Β· Pull Request #144 Β· ruby/net-http
πΒ Rob LaceyΒ sharedΒ about a possible bug in Rails 6.1 date_select:
πΒ Ryan BatesΒ sharedΒ about using class methods and extracting POROs through refactoring:
πΒ Stanislav KatkovΒ asked about which gem documentation we are reading most often:
The replies so far mention: rspec
, sidekiq
, devise
, nokogiri
, view_component
, shoulda
, capybara
, bullet_train
, jbuilder
, jbuilder-schema
, graphql-ruby
, syntax_tree
, dry-rb
, warden
, pundit
, ransack
.
πΒ Naofumi Kagami ε γ ηΎη΄ε²Β sharedΒ about how they see Rails controllers:
πΒ Ufuk KayseriliogluΒ sharedΒ they are part of the new RubyCentral board
πΒ Nate HopkinsΒ sharedΒ why it is important to master ActiveRecord:
πΒ Mika HenrikssonΒ asked about how to solve a Rails error:
Here are two solutions:
π IΒ sharedΒ a thread where I reviewed an open-source web app (read it on nitter or ruby.social):
π u/stevecondy123 asked on /r/rails about Rubymine and VScode:
Please consider becoming a paid subscriber to support this newsletter for just $1.8/week ($7.5/month), and you will receive an ad-free version. Your contribution aids growth and maintains the quality of ShortRuby for everybody.
π§° Gems, Libraries, Tools and Updates
π§° Nate HopkinsΒ announced a new release forΒ universalid: URL-Safe String Serialization for any Ruby Object
π π§° Mike Perham announced a new native UI for Sidekiq Sidekiq desktop app
π§°Β Jeremy EvansΒ announced a new version ofΒ Roda 3.74.0 Released Β· jeremyevans roda Β· Discussion #339
π§°Β Koichi ItoΒ sharedΒ that Rubocop VSCode extension is available on Open-VSX Registry:
π§°Β Alex RudallΒ announced that ruby-openai now supports the new Text to Speech API:
π π§°Β Bijan RahnemaΒ announcedΒ a new gem mail-autoconfig-revived - Ruby library to detect and parse Mozilla Thunderbird Autoconfiguration files
π π§°Β Mark GodwinΒ announced a new gemΒ mgodwin/rails_observatory: Metrics Tracking for Rails Apps
π§°Β Joel MossΒ announced a new release forΒ proscenium
π§°Β Yuichiro KanekoΒ announced a new release forΒ Release v0.5.10 Β· ruby/lrama
π π§° Enrico announced a new gem plucker - Pluck database records in structs
π§°Β GuillaumeΒ sharedΒ GitHub - kamal-ansible-manager: Manage and optimize your servers automatically for Kamal with Ansible
π€ Related (but not Ruby-specific)
π€ Bart VenemanΒ sharedΒ about using form.requestSubmit() to trigger validation:
π€Β Kelsey HightowerΒ sharedΒ about senior engineers:
π€Β Ryan BatesΒ sharedΒ about the advantages of verbosity:
π€Β Naofumi Kagami ε γ ηΎη΄ε²Β sharedΒ
π€Β Adam WathanΒ sharedΒ about using forced-colors to test the UI:
π€Β William KennedyΒ sharedΒ about misconceptions about development and marketing:
π€Β Ryan BatesΒ sharedΒ about different types of refactoring:
π€Β Dave PaolaΒ sharedΒ advice from Simmon Li:
More content: π π π§ π₯ βπΎ
π Newsletters
ποΈ Ruby Weekly published a new edition about IRB adds type-based completions
π Β Greg MolnarΒ published a new edition aboutΒ Open redirect vulnerabilites in Rails apps
πΒ Aurelie VerrotΒ published a new edition aboutΒ Newsletter WoR #53: Angular glow up, some bugs, a button that does nothing, being amazed...
πΒ Ruby LibhuntΒ published a new edition aboutΒ Awesome Ruby Newsletter - Issue 391, Nov 16, 2023
πΒ Ruby On RailsΒ published a new edition aboutΒ Action Mailer bug report template, Active Storage fixes and more!
πΒ Sajjad UmarΒ published a new edition aboutΒ Ruby on Rails - November 2023
πΒ Harrison BroadbentΒ published a new edition aboutΒ The RailsNotes Newsletter ISSUE #19
π Ruby Radar published a new edition about Post-Conference Hangover Cure
π§ Podcasts
π§Β Yaroslav Shmarov and Adrian MarinΒ published a new podcast aboutΒ Friendly Show | Andrea Rocca, Hotwire Cookbook, Rails UI, and flying foxes
π§Β Indie RailsΒ published a new podcast aboutΒ John Nunemaker - Rolling with Flipper
π§Β Lucas BarretΒ published a new podcast aboutΒ GemRuby Show: Xavier Noria, Zeitwerk
π§ Matt SwansonΒ published a new episode aboutΒ YAGNI | Testing w/ Josh Pigford
π§ The Bike ShedΒ published a new podcast aboutΒ The Bike Shed: 406: Working Solo
π§Β Ruby For AllΒ published a new podcast aboutΒ Ruby Mastery and Community Love with Ufuk Kayserilioglu
π§Β Maintainable Software PodcastΒ published a new podcast aboutΒ Oliver Drotbohm - Modulithic Applications
π§ Software Sessions published a new episode aboutΒ David Copeland On Medium Sized Decisions (Ruby Conf 2023)
π§ Remote Ruby published a new episode aboutΒ Rails World 2023 Recap &Amp; Rails Foundation Plans With Amanda PerinoΒ β β
ποΈ Talks, Slides and Conference Talks
ποΈΒ Jeremy EvansΒ shared their slides for the talk aboutΒ The Second Oldest Bug
ποΈ ε€§ει ε²οΌOkura Masafumi)Β shared their slides aboutΒ Developing a Vim plugin with Ruby
ποΈΒ Andy Obtiva published a new article aboutΒ Slides & Code for RubyConf 2023 Workshop "How To Build Desktop Applications in Ruby"
π½οΈ π₯ Videos
Screencasts
π₯Β Yaroslav ShmarovΒ published a new video aboutΒ Advanced Hotwire modals and aboutΒ Custom Turbo Streams. How to redirect from a form that is inside a turbo frame?
π₯ Dean DeHartΒ published a new video aboutΒ Intro To Object Oriented Programming In Ruby For Beginners 17 and about Reading And Writing To Files In Ruby For Beginners 16
π₯Β Scott Yang published a new video aboutΒ Rails World Amsterdam 2023
π₯ Kelvin Omereshone published a video aboutΒ High Performance PostgreSQL For Rails Applications With Andrew Atkinson
π₯Β Jason SwettΒ published a new podcast aboutΒ Refactoring Code for a Lego Robot
βπΎ Articles
Whatβs new π
Ryan Bates published a new article aboutΒ RailsCasts Retrospective Part 2: The Fire
Maxime Chevalier published a new article aboutΒ YJIT Is the Most Memory-Efficient Ruby JIT
Kevin MurphyΒ published an article aboutΒ Ruby Conf 2023 Recap
Justin Searls published an article aboutΒ The Future Of Rails Test Data Management: β¦ Rests Entirely On Your Shoulders, It Turns Out
Vladimir Dementyev published a new article aboutΒ Freezolite: the magic gem for keeping Ruby literals safely frozen
Radan SkoricΒ published an article aboutΒ Preventing Bugs In Ruby: Tools Of The Trade
IΒ published an article aboutΒ Inspiring Ruby On Rails Project Ideas
Gowsik Vivekanandan published an article aboutΒ Rails 7.1 Adds Support For Message Pack As Message Serializer
Prasanth Chaduvula published a new article aboutΒ Rails 7.1 Introduces ActiveRecord::Base::generates_token_for
Dumebi OkoloΒ published an article aboutΒ A Beginnerβs Guide To Understanding Object Oriented Programming (OOP) In Ruby
Deep Dives π
Stephen Margheim published a new article aboutΒ SQLite Table Schema and Metadata
Noel RappinΒ published an article aboutΒ Better Know A Ruby Thing Bonus: Contestants And Nesting
Dhaval Singh published a new article aboutΒ What the pluck? - A complete guide to using pluck, an ActiveRecord query method
IΒ published an article aboutΒ Feedbin: Ruby Open Source RSS Reader
How-Tos π
Julian Rubisch published an article aboutΒ Handle Incoming Webhooks With Lite Job For Ruby On Rails
Andrew Coleman published an article aboutΒ How Git Hub Actions Can Turn Your Code Into A Docker Daemon: A Quick Way To Automate Ruby Releases
Cloud 66 published a new article aboutΒ Deploying Hanami 2.0 Ruby application on AWS
Hugo VastΒ published an article aboutΒ Turbocharge Your Rails App: A Comprehensive Guide To Async Queries
Brad Gessler published a new article aboutΒ Rename a RubyGem
Stanko KrtaliΔΒ published an article aboutΒ Tracking Online Presence With Action Cable and aboutΒ Tracking online presence with ActionCable
Mayank Agnihotri published an article aboutΒ Integrate Google Calendar Api Into Rails Application
Akshay KhotΒ published an article aboutΒ How To Return 404 Not Found Error In Rails
Dennis Paagman published a new article aboutΒ Structuring return data
Petr HlavickaΒ published an article aboutΒ Gem Credentials Management With Gemstash
Valerie Woolard published a new article aboutΒ How to Use pgvector for Similarity Search on Heroku Postgres
Myungwoo SongΒ published an article aboutΒ Automating `Updated At` Timestamps With `Update All` In Ruby On Rails
DΓ©lon NewmanΒ published an article aboutΒ Tidy Code β How To Generate Unique Names With A Value Object
Samuel de MouraΒ published an article aboutΒ Flaky Visual Regression Tests, And What To Do About Them
Related
Victor ShepelevΒ published an article aboutΒ Language, Perception, And Empathy: Ukrainianβs Gaze (Notes To The Talk Rejected By Ruby Conf)
Kent Beck published a new article aboutΒ TDD Outcomes
David CopelandΒ published an article aboutΒ What Is Web Components Buying us?
Please consider becoming a paid subscriber to support this newsletter for just $1.8/week ($7.5/month), and you will receive an ad-free version. 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.