Short Ruby News - Edition #70
Discover the world of Ruby in this comprehensive newsletter covering week 51 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)
[Sponsor β¬] flippercloud.io
Are big launches stressing you out? Then you need feature flags.
Flipper Cloud helps your team deploy the code now and then rollout features when you are good and ready.
Get started for free at flippercloud.io
π New Products
πΒ Ruby On RailsΒ launchedΒ The official Rails job board is live
πΒ (re-launch) Yaroslav ShmarovΒ sharedΒ Ruby on Rails #59 Hotwire Turbo Streams CRUD
π Akshay KhotΒ announced their new courseΒ Crash Course On Turbo (Hotwire) Framework
πΒ Sam JohnsonΒ launchedΒ DevsCoach | End-to-end Rails Stripe Integration
πΒ (pre-launch) Nicolas AlpiΒ announced they are working on a course:
π
Events
π Β Tropical.RbΒ announced the CFP is now open atΒ PaperCall.io - Tropical.rb | The Rails Latam Conference
π Β EurukoΒ announced the date for 2024 edition:
π Β Ruby On RailsΒ announced the date for 2024 edition:
π Β Rug BΒ announced theΒ RUG::B - December Meetup 2023
π Β Geneva Ruby BrigadeΒ announced the next editionΒ Everyday Performance Rules for Ruby on Rails Developers (Alexis Bernard), Tue, Dec 5, 2023, 7:00 PM
π All about Code and Ruby
[Sponsor π]
Fewer π₯, more π. Need to restrict who can enable, disable, or roll back feature flags in a particular environment? We can help.
Know who did what (and when), roll back a change in a single click or lock down production access to a few people today at flippercloud.io
πΒ Joel DrapperΒ sharedΒ a code sample using the Literal gem:
Here is one reply from Joel where he explains how this works, but you should read the entire conversation happening as reply to this code sample:
πΒ Jorge ManrubiaΒ shared a demo ofΒ Page refreshes with morphing in Turbo 8
πΒ John NunemakerΒ sharedΒ a preview of a new feature for FlipperCloud that will support client side stats:
πΒ Colleen SchnettlerΒ shared a thread about how they created a grid of radio boxes:
Konnor RogersΒ shared a solution built only with CSSΒ β see it at CodePen
πΒ Jorge Manrubia shared that Basecamp runs 18% faster with YJIT along with an article written by Jacopo Beschi aboutΒ Basecamp code runs 18% faster with YJIT
πΒ Greg MolnarΒ sharedΒ a tip about silencing health checks in Rails:
[Sponsor flippercloud.io]
π¬ Using the open source version of Flipper to flip features? Switch to Cloud in a few minutes for support, audit history, finer-grained permissions, multi-environment sync, and all your projects in one place.
Start with our free tier today at flippercloud.io
πΒ Shopify EngineeringΒ sharedΒ stats about the BFCM:
There are some replies to this thread shared on Hacker News and Reddit if you want to read and see what people are thinking about this.
π Ryan BatesΒ asked about what developers are using to run multiple versions of PostgreSQL for Ruby on Rails development:
Here are some suggestions:
Containers with OrbStack
Homebrew and linking to a specific keg
PostgreSQL app with all versions
PostgreSQL database-cluster manager (see a how to article here)
dbngin.com - Free All-in-One Database Version Management Tool
πPetrik De HeusΒ sharedΒ a thread with results from TechEmpower Web Framework Performance Comparison about Ruby web frameworks:
π Advent of code with Ruby - here are some of the links shared by people doing Advent of code with Ruby:
Paul ReeceΒ shared the leaderboard for Advent of Code with Ruby -
3406862-3ccabfe4
Henrik NyhΒ publishes their solutions in Github Gists at Advent of Code day 3
Kevin NewtonΒ publishesΒ Advent of Prism: Part 0
John NunemakerΒ publishes solutions atΒ Advent of Code 2023
Konnor RogersΒ publishes solutions atΒ Β KonnorRogers/aoc-2023
Benoit DalozeΒ shared solutions for under 140 chats @eregontpΒ (read onΒ nitter)
CJ Avilla is sharing videos of solving Advent of Code 2023 and also in Gists at Advent of Code 2023
πΒ Naofumi Kagami ε γ ηΎη΄ε²Β sharedΒ Phlex β fast, object-oriented view framework for Ruby
πΒ Joel DrapperΒ sharedΒ a link to an mp3 file in the zeitwerk repo that shows how to pronounce zeitwerk:
πΒ Daveyon MayneΒ sharedΒ a code sample that helps to truncate about search results:
πΒ Jorge ManrubiaΒ sharedΒ an example of using Turbo 8:
πΒ David Heinemeier HanssonΒ sharedΒ a piece of code from Once:
πΒ Nate BerkopecΒ sharedΒ about Rails being a good fit for web applications:
πΒ Amanda Brooke PerinoΒ sharedΒ that all communities have an similar problem:
πΒ Rob LaceyΒ sharedΒ a code sample about getting a specific digit from an Integer:
πPaul ReeceΒ sharedΒ they added a new feature to IRB the -s flag:
πΒ Matt SwansonΒ asked about VScode extension to highlight inline ERB:
Vladimir DementyevΒ sharedΒ a possible solution:
πΒ Axel KeeΒ sharedΒ about Ruby:
πΒ Mike Ray ArriagaΒ sharedΒ a stimulus controller that automatically closes flash messages:
πΒ John NunemakerΒ sharedΒ that you can define serialization for your objects to be used in ActiveJob:
πΒ John Mc DowallΒ sharedΒ that with Ruby beautiful DSLs can be created:
π§° Gems, Libraries, Tools and Updates
π π§°Β John Mc DowallΒ announced a new gem called consist - The stone age one person framework server scaffolderΒ
π π§°Β Noel RappinΒ announced a new gemΒ GitHub - noelrappin/gemfile_sorter: A Ruby Gem that sorts Gemfiles. Mostly
π§° PostmodernΒ announced the release ofΒ Β Release 0.9.3 Β· postmodern/ruby-install
π§° Stan LoΒ sharedΒ Β Release v0.1.7 Β· st0012/ruby-lsp-rspec and Release 0.4.21 - vscode-ruby-lsp
π§° A new release of Rage - Fast web framework compatible with Rails.
π§°Β Brad GesslerΒ announced an update forΒ One-liner URL transforms in Ruby updated to include a block format
π§°Β Tim MorganΒ announced adding Threads to Natalie langΒ Threads by seven1m Β· Pull Request #1489 Β· natalie-lang/natalie
π§°Β Niklas HΓ€useleΒ announced they added support for text-to-speech to ruby-openaiΒ Using the OpenAI Text-to-speech API with Rails and he also shared their repo:
π§°Β Bozhidar BatsovΒ announcedΒ Release RuboCop 1.58 Β· rubocop/rubocop
π§°Β Jeremy EvansΒ sharedΒ Sequel 5.75.0 Released Β· jeremyevans sequel Β· Discussion #2104
π§°Β Tomoya IshidaΒ sharedΒ a release of version 0.5.0.pre1 of reline:
π§°Β Vipul A MΒ announced their PR that improves json gem is mergedΒ Perf. improvements to Hash#to_json in pure implementation generator
π§°Β Yuichiro KanekoΒ announced a new version forΒ Release v0.5.11 Β· ruby/lrama
π§° Gary Tou announced a new PR for IRB - Implement history command
π§°Β Stan LoΒ announced a new versionΒ Release v1.10.0 Β· ruby/irb
π€ Related (but not Ruby-specific)
π€Β Mike PerhamΒ sharedΒ about making blogs readable:
π€Β Peter CooperΒ sharedΒ how experienced people sometimes forget to take into consideration the context of newbies:
π€Β Justine Tunney announced llamafile - the faststest executable file format and shared an article aboutΒ Mozilla-Ocho/llamafile: Distribute and run LLMs with a single file
π€Β Adrian OpreaΒ sharedΒ about teaching fundamentals:
π€Β Craig KerstiensΒ sharedΒ psql config recommendations:
π€Β Ryan BatesΒ sharedΒ about how UX and performance can be used to mitigate each other:
π€Β Dani GrantΒ sharedΒ a cold email that help them get their first job:
π€Β Adam WathanΒ sharedΒ a little UI polish tip:
More content: π π π§ π₯ βπΎ
π Newsletters
ποΈ Hotwire WeeklyΒ published a new edition aboutΒ Week 48 - Turbo devtools, Turbo without Rails, LAST stack tutorial series, and more!
ποΈ Joe Masilotti published a new edition about Hotwire dev newsletter - November edition
ποΈ Andy CrollΒ published a new edition of One Ruby Thing aboutΒ Find Definitions Of Rails Methods Using Source Location And Bundle Open
ποΈ Ruby Weekly published a new edition about 60 million requests per minute
ποΈ Awesome Ruby Newsletter published a new edition about Issue 393 - The official Rails job board is live
π§ Podcasts
π§Β Lucas BarretΒ published a new podcast aboutΒ GemRuby Show: Dmitry Tsepelev, StoreModel | GemRuby Show
π§Β Rooftop RubyΒ published a new episode aboutΒ Β Live at RubyConf 2023! β Rooftop Ruby Podcast
π§Β Matt SwansonΒ published a new podcast aboutΒ YAGNI | Redis w/ Nate Berkopec
π§Β Indie RailsΒ published a new podcast aboutΒ IndieRails | What to Look For in a New Client
π§ Rubber Duck Dev Show published a new episode about Working As A Team In Software Development
π§ Ruby Rogues published a new podcast aboutΒ Enhancing Ruby On Rails With Hotwire: Turbo, Stimulus, And Strata For Efficiency Ruby
π§ Remote Ruby published a new podcast aboutΒ Unlocking The Power Of State Machines In Code Development With Elise Schaefer
π§ The Ruby on Rails PodcastΒ published a new episode aboutΒ Episode 497: Rachel Moser On The Odin Project
π§ The Bike ShedΒ published a new episode aboutΒ The Bike Shed: 408: Work Device Management
π½οΈ π₯ Videos
Screencasts
π₯Β Hanami MasteryΒ released a new episode aboutΒ Β Font awesome icons in Hanami apps!
π₯Β Drifting RubyΒ published a new video aboutΒ Episode 430 - Rails Organization
π₯Β ThoughtbotΒ published a new video aboutΒ Importing posts from an RSS feed with Eleventy
π₯Β Simon WillisonΒ published a new video aboutΒ Snakes and Rubies (full) (2005)
βπΎ Articles
Whatβs new π
Brad Gessler published a new article aboutΒ Turbo 8 in 8 minutes
RubyCentral published a new article about November 2023 Newsletter
Jacopo Beschi published an article aboutΒ Basecamp Code Runs 18% Faster With Yjit
Marc Busqué published an article about Open Source Status: November 2023 Dry Operation Failure Hooks & Database Transactions
Prasanth Chaduvula published an article aboutΒ Rails 7.1 Introduces Default Dockerfiles
Michel SΓ‘nchez MontellsΒ published an article aboutΒ Exploring The Power Of Keyword Arguments In Ruby
Prasanth Chaduvula published an article aboutΒ Rails 7.1 Adds Active Job#Perform All Later To Enqueue Multiple Jobs At Once
Alexis Bernard published a new article aboutΒ Helvetic Ruby - RorVsWild
Ahmed Nadar published a new article aboutΒ RapidRails UI for Ruby on Rails with TailwindCSS and ViewComponent
Hugo VastΒ published an article aboutΒ Pimp My Code : Come And Clean Code
Hasumi HitoshiΒ published a new articleΒ γγΎγγ | γ―γγΏγγ | Reline::Faceγ§εΏ«ι©γΏγΌγγγ«ηζ΄» β read the EN version via Google Translate
IΒ published an article aboutΒ Review Rails Code: Rubymine AI & Chat GPT
Deep Dives π
Victor ShepelevΒ published an article aboutΒ βUseless Ruby Sugarβ: Endless (One Line) Methods
Ben SheldonΒ published an article aboutΒ Β The Rails Executor: increasingly everywhere
Jesus Castello published a new article aboutΒ From Complexity to Clarity: Mastering Rubyβs Pattern Matching Features
Vladimir Dementyev published a new article aboutΒ TestProf III: guided and automated Ruby test profiling
Sid KrishnanΒ published an article aboutΒ The Anatomy Of A Turbo Stream
Akshay KhotΒ published an article aboutΒ Understanding The Rails Router: Why, What, And How
How-TOs π
Radan SkoricΒ published an article aboutΒ Using Turbo Frames And Streams Without Rails
Pulkit Goyal published an article aboutΒ Keep Your Ruby Code Maintainable With Money Rails
Brooke KuhlmannΒ published an article aboutΒ Interactive Ruby (IRB)
AbstractBrain published an article aboutΒ Using Rails Helpers (X Component) For Rendering View Components
Kasra RismanchiΒ published an article aboutΒ Rails Harmony: Debugging Your Dockerized App With VScode And RDBG
Guillermo Aguirre published an article aboutΒ How To Avoid Distributed Data Consistency Coming Off The Rails
Steve Polito published an article aboutΒ Are Your Polymorphic Relationships Correctly Enforced?
Niklas HΓ€usele published an article aboutΒ Using The Open Ai Text To Speech Api With Rails
JetThoughtsΒ published an article aboutΒ Custom Ordering Without Custom Sql With Ruby On Rails 7
Amy Lai published an article aboutΒ The Weirdest Bug Iβve Seen Yet
Francois Buys published an article aboutΒ Test Doubles: Testing At The Boundaries Of Your Ruby Application
Tobias PfeifferΒ published an article aboutΒ Reexamining Fizz Buzz Step By Step & Allowing For More Varied Rules
Related
Tobias Pfeiffer published a new article aboutΒ Interviewing Tips: Technical Challenges β Coding & more
Aaron FrancisΒ published an article aboutΒ Targeting Only Inline Code Elements With Tailwind Typography
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.