Short Ruby News - Edition #72
Discover the world of Ruby in this comprehensive newsletter covering week 52 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
๐ย Milesย launched in their beta appย Join the 1500cals beta
๐ Events
๐ ย Wroclove.Rbย announced CFP is openย wroclove.rb 2024 - call for papers
๐ ย Rubyday | 16th June | Veronaย announced that CFPs and early bird tickets are now available atย rubyday 2024
๐ ย Toronto Rubyย announced a chat atย Chat | Toronto Ruby
๐ ย Ruby World Conferenceย announced the dates forย RubyWorld Conference 2024 ้ๅฌๆฅๆฑบๅฎ
๐ All about Code and Ruby
[Sponsor ๐]
Flipper 1.1 is out, and it's a sturdy release. One of the most exciting bits is expressions. If you are already a flipper user, expressions are groups you can change at runtime (instead of statically defined in code).
If you aren't using Flipper, get started free today!
๐ Ruby Lang announced the release of Ruby 3.3.0-rc1
๐ย Yukihiro Matzย sharedย about using String#-@ and String#+@ for freeze and unfreeze:
๐ย David Heinemeier Hanssonย sharedย about the future of Rails 8:
๐ย John Nunemakerย shared a code sample from their article aboutย How we designed Flipper Cloud to never take your app down
๐ย Dhaval Singhย sharedย about the difference in SQL query about NOT IN:
๐ย David Heinemeier Hanssonย sharedย about SolidQueue:
๐ย Janko Marohniฤ ย shared how they implemented authentication forย RubyGems.org
๐ย Matheus Richardย sharedย how Ruby parses minus prefix operator:
๐ย Borja Garcia De Vinuesa Ordovรกsย sharedย a code sample showing how to add a method to a single object:
๐ Iย sharedย a thread about the warning in Ruby 3.3.0-rc1 about using `it` without a receiver, arguments, or blocks:
๐ Jan Dudulskiย sharedย a code sample using common table expressions in Rails:
๐ย Martin Spickermannย shared a code sample about loading records from the database in a custom order:
๐ย Bhumiย sharedย about how Rails transforms hyphens to underscores:
Niklas Hรคuseleย sharedย that symbols with hyphens can be created, but one needs to put their label between quotes:
[P] 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
๐ Postmodernย sharedย about defining a rake file task that depends on another rake task:
๐ย Matt Swansonย sharedย about building personalization tokens with Liquid attributes:
๐ย Bhumiย sharedย about autoload in Ruby:
๐ย Hans Schnedlitzย sharedย about configuring strict loading in Rails:
๐ย Ruby Cademyย sharedย a code sample showing how to use with_options in ActiveRecord:
๐ย Cj Avillaย sharedย a code sample showing how to use retry:
๐ย Samuel Williamsย sharedย about working on a more flexible implementation of ActionCable:
๐ย Hans Schnedlitzย sharedย about assigning variables to Regexp:
๐ย Stephen Margheimย sharedย a thread about SQLite database-locked errors:
๐ย Kevin Newtonย sharedย about classes as another scope:
๐ย David Heinemeier Hanssonย sharedย about testing products that should code with 10.000 users:
๐ย Georgie Boyย sharedย a Phlex Mailer layout gist for creating a mailer layout with Phlex:
๐ Andiย sharedย the State of Ruby packaging / executables - 2023
๐ Mike Perhamย sharedย some advice to buy from a creator you know:
๐ย Tropical.Rbย sharedย a feature they like from Rails 7.1:
๐ย Igor Alexandrovย sharedย about writing objects following the Law of Demeter:
๐ย Nate Hopkinsย sharedย about UniversalID enhancements:
๐ย Samuel Williamsย sharedย that sus testing framework can now provide code coverage data back to VSCode:
๐ย Rob Zolkosย sharedย an example of good naming for routes from Basecamp:
๐ย Ruby Cademyย reminded us that Rails 7.1 now has a lot of asynchronous methods:
๐ย David Heinemeier Hanssonย sharedย about building web apps with vanilla CSS:
๐ย Hasumi Hitoshiย sharedย a quote from Yukihiro Matz:
๐ย Kevin Newtonย sharedย what it means to achieve true, well-factored OOP:
Here are two replies, but you should read all replies ย (read onย nitter):
๐ย Vladimir Dementyevย sharedย that their book Layered Design for Ruby on Rails Applications: Discover practical design patterns for maintainable web applications is now on sale
๐งฐ Gems, Libraries, Tools and Updates
๐งฐ RubySec published an article aboutย CVE 2023 50448 (Activeadmin): Potential Csv Export Data Leak
๐งฐ RubyGems release versionย 3.5.0 Released
๐ ๐งฐย Stephen Margheimย announced a new version ofย GitHub - fractaledmind/litestream-ruby
๐งฐย Sebastian Wilgoszย announced a new gem pagination: A pagination implementation for Ruby applications
๐งฐ Tiago Cardosoย release a new version of httpx gemย Release notes 1.2.0
๐ ๐งฐ Masataka Pocke Kuwabaraย published a new gem calledย ย graphql-coverage - is a gem that calculates the coverage of GraphQL queries
๐งฐ John Nunemakerย announced a new release of ย flipper v.1.1.2
๐งฐ Mike Dalessioย announced the Release of version v1.16.0.rc1 for nokogiri
๐ ๐งฐ Steven Harmanย shared a new scriptย gemfresh: A handy script for determining the freshness of dependencies in a Ruby code base. Leverages bundler and libyear-bundler
๐๐งฐย Chris O'sullivanย announced a new gem ruby-gemini: This is the Ruby api for the Google Gemini LLM
๐งฐย Stephen Margheimย announced two new open PRs for Rails about SQlite:
๐งฐ Ro Rvs Wildย discovered an open source project calledย ย SOLECTRUS Photovoltaik-Dashboard
๐ ๐งฐย Postmodernย started a new projectย ronin-rb/bruteforceable: A collection of bruteforceable apps
๐งฐย Tatsuno Yasuhiroย announced a new version ofย Release v0.10.0 ยท exoego/rspec-openapi
๐งฐย Bozhidar Batsovย announced a new version ofย Release RuboCop 1.59 ยท rubocop/rubocop
๐งฐย Stan Loย announced a new version ofย Release v1.9.0 ยท ruby/debug
๐งฐย Takashi Kokubunย started working on a draft PR forย Implement `it` by k0kubun ยท Pull Request #9199 ยท ruby/ruby
๐งฐย Matt Swansonย announced a new PR forย Pass invoking element as event data by swanson basecamp/trix
๐งฐ Rafael Franรงa merged a PR to Rails aboutย Remove deprecations part 1 by rafaelfranca
๐งฐย Nate Berkopecย announced a new version ofย Release 3.3.0 ยท MiniProfiler/rack-mini-profiler
๐งฐย Kevin Newtonย announced a new version ofย Release v0.19.0 ยท ruby/prism
๐งฐย Jeremy Evansย announced a new version ofย Roda 3.75.0 Released ยท jeremyevans roda ยท Discussion #343
๐งฐย Mari Imaizumiย announced a new version ofย Implement named references by junk0612 ยท Pull Request #41 ยท ruby/lrama
๐งฐย Vinicius Stockย announced a new version ofย Release v0.13.2 ยท Shopify/ruby-lsp
๐งฐย Rails Event Storeย announced a new version ofย Release v2.13.0 ยท RailsEventStore/rails_event_store
๐งฐย Alessandro Rodiย announced a new version ofย rails_api_logger - The simplest way to log API requests of your Rails application in your database
๐งฐย Koichi Itoย announced a new version ofย Release RuboCop Performance 1.20.0 (The RubyConf Taiwan 2023 Edition) ยท rubocop/rubocop-performance
๐ ๐งฐย ่ผๆๅผฆไนย announced a new gem elct9620/hanami-cucumber: Hanami Cucumber extensions
Related (but not Ruby-specific)
๐คย Paweล ลwiฤ tkowskiย sharedย about seeing tests the same way as the codebase:
๐คย Jason Swettย sharedย about a question engineering leaders should ask themselves:
๐คย Darren Broemmerย sharedย about the benefits of reframing a problem:
๐ย Drew Braggย shared that there exists a ruby HTML element The Ruby Annotation element - HTML: HyperText Markup Language
More content: ๐ ๐ ๐ง ๐ฅ โ๐พ
Helio Colaย sharedย their slides from RubyConfTW about Let's pop into Passkeys
Okura Masafumiย shared their slides from RubyConfTW aboutย ย Writing Minitest clone in 30 minutes
Hiroshi SHIBATA shared their slides from RubyConfTW aboutย Deep dive into Ruby's require
Junichi Kobayashiย sharedย their slides from RubyConfTW about RubyConf Taiwan / Understanding Parser Generators surrounding Ruby with Contributing Lrama
Faraaz Ahmadย sharedย their slides from Bengaluru Ruby User group about Ruby without the Syntax
Friendly.Rbย published a new video aboutย Marian Dumitru - Become a Roma connoisseur in less than 5 minutes and Ayush Newatia Use Turbo Native To Make Hybrid Apps That Donโt Suck
Abiodun Olowodeย shared their a new video from Helvetic Ruby aboutย A Sneak Peek into Ractors! by Abiodun Olowode
๐ Newsletters
๐ Wojciech Wnฤtrzak published a new edition of This Week in Rails aboutย Ruby On Rails - Exposed Queries Assertion Methods And More
๐ Sajjad Umar published a new edition aboutย Ruby On Rails December 2023
๐ Awesome Ruby Newsletter published a new edition about Issue 395 - How Relational Algebra powers Klaro Cards
๐ Ruby Weekly published a new edition about Eleven sleeps away
๐ย Saronย published a new edition aboutย The single, guiding question for all your product designs
๐ย Hotwire Weeklyย published a new edition aboutย Week 50 - Turbo 8 deep dive, Hotwire history, new Turbo native apps!
๐ Ruby Radar published a new edition about It's Almost that Magical Time Of Year...
๐ง Podcasts
๐ง Yaroslav Shmarov and Adrian Marin published a new episode aboutย Friendly S1 E9 Mariusz Koziel Ruby Community In Poland, How To Become CTO And CEO
๐งย Indie Railsย published a new podcast aboutย Adrian Marin - Friendly Dev Building Avo
๐งย Code And The Coding Coders Who Code Itย published a new podcast aboutย Episode 31 - Elise Shaffer
๐งย Remote Ruby published a new episode aboutย Unleashing The Power Of Postgres With Andrew Atkinson
๐ง The Ruby on Rails Podcastย published a new episode aboutย Episode 499: The Ruby On Rails Podcast X Coding Coders
๐ง Stephanie Minn and Joรซl Quennevilleย published a new episode aboutย The Bike Shed: 410: All About Documentation
๐ง The Rubber Duck Dev Showย published a new episode aboutย ORM vs. SQL
๐งRooftop Rubyย published a new episode aboutย ย 33: You Had Me at Battlesnake With ChaelCodes - Rooftop Ruby Podcast
๐งย Joshua Woodย published a new podcast aboutย Cutting (Almost) to the Bone | FounderQuest
๐ฝ๏ธ ๐ฅ Videos
Screencasts
๐ฅย Emmanuel Hayfordย published a new video aboutย New Active Support assertion methods
๐ฅย CJ Avilla published a series of videos solving Advent of Code in Ruby aboutย Grid Traversal With Pattern Matching Day 16, Ascii Values With Ord And Delete If Day 15, Transpose, Reverse, Roll! Day 14, Partition And Inject Intersection Day 13, Caching And Pattern Matching Day 12,ย Combination, Filter Map Day 11, Point in polygon - Day 10
๐ฅ Emmanuel Hayford published a new video aboutย New Active Support/Test Case Assertion Methods
๐ฅ Dean DeHart published an article aboutย Runescape Drop Rates In Ruby On Rails 7
๐ฅย Drifting Rubyย published a new video aboutย Episode 432 - Custom Dashboard - Part 1
๐ฅย Hexdevsย published a new video aboutย Hacking on Prism with Kevin Newton
Talks
๐ฝ๏ธย Tobi Lutkeย published a new video aboutย Advice from the CEO of Shopify, Tobias Lรผtke
๐ฝ๏ธ Justin Searls published a new video aboutย Secrets Of Great Conference Talks Practical Public Speaking Advice
โ๐พ Articles
Whatโs new ๐
John Nunemaker published an article aboutย How We Designed Flipper Cloud To Never Take Your App Down
Nithin Bekalย published an article aboutย What's New In Ruby 3.3
Cezary Kลos published a new article aboutย A look back at Friendly.rb 2023
Stephen Margheimย published an article about SQLite on Rails: Introducingย litestream-ruby
,about Enhancing your Rails app with SQLite: Prefixed ULID keys and about SQLite on Rails: Improving concurrency
Adam McCrea published an article aboutย We Were Wrong: Donโt Use Heroku Scheduler
Ariel Juodziukynas published an article aboutย What's New In Ruby 3.3.0
Prasanth Chaduvula published an article aboutย Rails 7.1 Allows Active Record Reselect Query Method To Accept Hash and aboutย Ruby 3.3 Introduces Range#Overlap? Method
Iย published an article aboutย Ruby 3.3 Examining `It` Default Block Param
Samuel Giddins published an article aboutย Announcing Trusted Publishing On Ruby Gems.Org
Alkesh Ghorpadeย published an article aboutย Rails Introduce Powerful Error Reporter#Unexpected For Controlled Error Reporting and aboutย Rails 7.1 Introduces A New Option To Exclude All Custom Methods Generated By The Active Record/Enum
Dimiter Petrovย published an article aboutย ย Service objects are poorly-named models
Joe Masilotti published an article aboutย Idea To App Store In 7 Days
Deep Dives ๐
Radan Skoricย published an article aboutย Turbo 8 Morphing Deep Dive How Does It Work?
Kevin Newton published a series of articles published an article Part 11 - Defined, Part 12 - Program structure, Part 13 - Calls (part 1), Part 14 - Calls (part 2), Part 15 - Call arguments, Part 16 - Control-flow calls
Akshay Khotย published an article aboutย Rails Internals: A Deep Dive Into Active Job Codebase
Victor Shepelevย published an article aboutย Advent Of Ruby Changelog: Week 2 (open the article and you will see each day deep-dives into the Ruby 3.3 changes)
Maxime Lapointeย published an article aboutย The Lesser Known Rails Race Condition
Igor Alexandrov published a new article aboutย From Service Objects to Object Design
Shane Tully published a new article aboutย Debugging Ruby the hard way
How-TOs ๐
Roel Bondoc published an article aboutย Deploy A Rails App To A VPS With Kamal
Tomasz Kowalewski published a new article about How to configure Rails Engine to work with Stimulus
Maxat Mansurov and Anna Zykova published an article aboutย Ruby Mine: How To Accelerate Project Indexing?
Julian Rubisch published an article aboutย Stream Updates To Your Users With Lite Cable For Ruby On Rails
Ernesto Tagwerker published an article aboutย How And Why To Measure Dependency Freshness In Your Ruby Application
Ariel Juodziukynas published an article aboutย Dual Boot With Rails' "Main" Branch
Akshay Khotย published an article aboutย Working With SQLite In Ruby
Sam Johnson published a new article aboutย Kamal + Hetzner = Joy
Hugo Vastย published an article aboutย 3 Chain Of Responsibility Implementations That Will Make You Fall In Love With This Pattern
Sebastian Wilgosz published a new article aboutย Untangle your code with MORE than service objects! Meet dry-monads!
Related
Ronan Duparcmeur published a new article aboutย Faxes from a late-career developer
Konnor Rogers shared an older article (2018) written by Sara Soueidan new article aboutย On Designing and Building Toggle Switches
Julian Rubisch published a new article aboutย Pros and Cons of Deploying Rails Applications Natively vs Containerized in 2024
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.