- Short Ruby Newsletter
- Posts
- Short Ruby News - Edition #101
Short Ruby News - Edition #101
Here, we celebrate Rails's 20th birthday, learn why people choose Ruby and Rails, and get inspiration from many code samples!
You can jump directly to a section:
π All about Code and Ruby: π» Code, πCode Design,π‘Around, β€οΈ Why Choose Ruby
π§° Gems, Libraries, and Updates: π New, π§° Updates
π€ Related (but not Ruby-specific)
More content: π π π§ π₯ βπΎ (articles, podcasts, videos, newsletters)
[Sponsor β¬] snappify.com
Snappify is a powerful design tool that enables developers to create stunning presentations and videos. Say goodbye to PowerPoint or Keynote and leverage snappifyβs abilityβs to create technical presentations with various ways to animate your code snippets.Get started with a generous free plan at snappify.com
π Launches and discounts
π Andrew Atkinson announced that their book High Performance PostgreSQL for Rails has a 30% discount with the occasion of Madison+ Ruby:
π Amir Rajan announced that DragonRuby is free in celebration of LOWREZ JAM 2024 β see more details at DragonRuby Giveaway for LOWREZ 2024 by DragonRuby
π Events
π Friendly.Rb shared an extensive list of updates β Visit friendlyrb.com for more information and tickets:
π Events happening this week if you want to attend:
Boston Ruby Group - Project Night on 5th August
Bluegrass Ruby Users Group - August 2024 on 6 August
Paris.rb - Meetup August 2024 on 6 August
Ruby Hack Night Online on 6 August
Avo will organize the next session of Office Hours on 9th August
π All about Code and Ruby
π» Code Samples
π» u/Pilgrim-Ivanhoe shared two visual cheat sheets in Ruby about Sets and Arrays:
οΈπ» Matt Swanson shared a code sample about implementing membership and accounts:
οΈπ» Alazycoder shared about how to install ruby with debug options:
and here is how to install the debug version of Ruby on MacOS:
And continued showing examples of how to debug with lldb:
And here is an example about using RBS to discover more about Ruby:
οΈπ» Chris Oliver shared about using respond_to to include private and protected:
οΈπ» Nidhi Sarvaiya shared a code sample showing how to setup and use Solid Queue in Rails:
οΈπ» Alexandre Ruban shared that defaults can be used in fixtures as they are just YML files:
οΈπ» Ruby Cademy shared a tip about using Rails method cache_key_with_version:
οΈπ» Deepak Mahakale shared a tip about using Active Record Store:
οΈπ» Xavier Noria shared the code sample they are using to boot a Rails app and also shared they implemented a more concise way in a PR Implement the bin/rails boot command by fxn Β· Pull Request #52480 Β· rails/rails
He added:
οΈπ» Jeremy Smith shared a code sample about Adding custom Active Storage transformations - RailsInspire
οΈπ» Samuel Williams shared a benchmark between multiple background processing gems:
οΈπ» Kevin Vanzandberghe shared about using fugit - time tools (cron, parsing, durations, ...) for Ruby, rufus-scheduler, and flor:
π Thinking about Code Design
π Kevin Vanzandberghe shared a video showing Turbo Morph in action and explained why it offers a layer of modern reactive UI:
οΈπ Bilal Budhani asked about how to store temporary states in Rails:
Here are some suggestions:
οΈπ Kevin Vanzandberghe shared about Rails 8 and getting rid of Redis:
π‘ Around code (news, findings, books, and more - all about Ruby)
π‘ Amanda Brooke Perino shared that the app that will be built this year for Rails World will be open-source:
β€οΈ Why Choose Ruby and Rails
In August, Rails is celebrating 20 years:
At least that was what Wikipedia was saying, before Rafael added and also corrected the Wikipedia page:
David Heinemeier Hansson shared how he started with Rails:
The celebration continues:
β€οΈ Jet Thoughts shared about a Ruby on Rails developer replacing a bigger team:
They also added:
β€οΈ Kyrylo Silin shared their tech stack for optimizing fast shipping:
β€οΈ Zach Gollwitzer shared
Hassen Taidirt added:
β€οΈ Mike Chong shared they chose to switch from Next.js to Rails:
They also wrote an article about this Iβm back, Ruby on Rails
David Heinemeier Hansson replied about how other frameworks are trying to replicate Rails:
Dan Wetherald added
β€οΈ Amias Yaska shared also:
β€οΈ Cayter shared about pivoting to Rails:
π§° Gems, Libraries, Tools and Updates
π New Gems and Repos
π Ben Sheldon published a new gem called activerecord-has_some_of_many: Optimized top-N-per-group Active Record associations using lateral joins
π Vincent Rolea announced a new version of GitHub - virolea/persisted_attributes: Add persisted fields to active record models without migrations.
π sebyx07 published a new gem ruby-binary-search - BinarySearch is a Ruby gem that implements a self-balancing binary search tree using the Red-Black Tree algorithm.
Joshua Young published a similar gem called red-black-tree - Red-Black Tree Data Structure for Ruby
π Svyatoslav Kryukov published a new gem called typelizer - automatically generates TypeScript interfaces from your Ruby serializers, bridging the gap between your Ruby backend and TypeScript frontend
π Aleksei Zaitsev published a new gem called minitest-spec-converter - convert code in minitest or mixed style to minitest spec style
π enjaku4 published a new gem called grepfruit - A Ruby gem for searching text patterns in files with colorized output
π§° Updates
π§° Rafael Franca updated the release policy of Rails in Implement new maintenance policy by rafaelfranca Β· Pull Request #52471
π§° Bridgetown announced Itβs Finally Here! Bridgetown 2.0 Beta 1
π§°Bozhidar Batsov announced a new release of RuboCop 1.65.1 Β· rubocop/rubocop
π§° Dima Fatko announced that Rails 8 will support custom columns when iterating in batches Support batching using custom columns by fatkodima Β· Pull Request #52384 Β· rails/rails
π§° Nate Hopkins announced a new version of Gfmt: A simple template engine based on native Ruby String formatting mechanics
π§° Camden Narzt announced a new version of Passenger 6.0.23
π§° Jeremy Evans announced a new version of Sequel 5.83.0 Released! Β· jeremyevans/sequel Β· Discussion #2198 Β· GitHub
π§° Janko MarohniΔ announced a new version of Release 1.15.0 Β· janko/rodauth-rails
π§° Robert Starsi shared they are using a gem called retest: A simple CLI to watch file changes and run their matching Ruby specs. Works on any ruby projects with no setup
π€ Related (but not Ruby-specific)
π€ James shared a tip about how to add a description to a git branch using Git - git-branch Documentation:
π€ Cameron Moll shared about problem-solving:
Jason Fried added:
π€ William Kennedy shared their alias to reload the zsh console:
Robby Russell added a link to ohmyzsh/lib/cli.zsh at 01a955657408c8396fc947075a912ee868d5e2a7 Β· ohmyzsh/ohmyzsh Β· GitHub
More content: π π π§ π₯ βπΎ
π Jeremy Smith their slides from Baltic Ruby about Refactoring Volatile Views into Cohesive Components
π γγγγ / Eririn shared their slides from Red Dot Ruby Conf at Connecting dots Rails Girls and RubyKaigi (Red Dot Ruby Conference 2024)
π Charles Oliver Nutter shared their slides from Red Dot Ruby Conf at JRuby: Ruby on the Modern JVM - Speaker Deck
π Landon Gray shared their slides from Madison Ruby about Ruby On RAG - Building AI Use Cases for Fun and Profit - Speaker Deck
π Newsletters
π Ruby Weekly published a new edition Ruby Weekly Issue 714
π Greg Molnar published a new edition of This Week in Rails about Rails Luminary nominations open, new maintenance policy and more!
π Hotwire Weekly published a new edition about Week 31 - Minesweeper Multiplayer in Hotwire, Kanban Board, and more!
π Awesome Ruby Newsletter published a new edition Awesome Ruby Newsletter Edition 428
π§ Podcasts
π§ The Bike Shed published a new episode about The Bike Shed: 435: Cohesive Code with Jared Norman
π§ Jason Swett published a new podcast about The Code with Jason Podcast - Code with Jason
π§ Remote Ruby published a new podcast about There is no A in JSON
π½οΈ π₯ Videos
π₯ Aaron Patterson published a new video about Pairin' with Aaron: Hacking on method_missing
π₯ Yaroslav Shmarov published a new video about #180 EU eInvoicing. PDF to XML to JSON. FaxturX, ZUGFeRD and about #181 Search and Autocomplete French Company Information
π₯ Evil Martians published the videos from SF Bay Area Ruby Meetup at SF Bay Area Ruby Meetup in July - Cisco Meraki by Evil Martians
π₯ Balticruby published the videos from the conference at Recordings 2024
π₯ Visuality published the videos from the Ruby Warsaw Conference at Ruby Warsaw Community Conference
π₯ Dennis Martinez published a new video about Secure Your Kamal App Deployments with Let's Encrypt
π₯ Lukasz Reszke published a new video about Event Sourcing basics for #rails developers!
π₯ Charles Max Wood published a new video about Ruby concurrency series with JP Camara
π₯ Jason Swett published a new video about Fixing the Charge Data Model - Live Coding on SaturnCI and about Adding Billing - Live Coding on SaturnCI
βπΎ Articles
Whatβs new π
π Onur ΓΆzer published a new article about Rails is Good Enough
π Igor Alexandrov published a new article about Happy Birthday, Rails! π
π Radan Skoric published an article about Exercise: Multiplayer Minesweeper with Rails and Hotwire
π Julian Rubisch published a new article about Betterstimulus | Open-Closed Principle
π Ahmed Nadar published a new article about Understanding Rails Concerns
π Hrishi Mittal Hrishi Mittal published an article about Ruby on Rails Quiz
π Haseeb Annadamban published a new article about Cheat Sheet for Rails + PostgreSQL Count Performance
π Rails Designer published an article about From Partials (and Helpers) to Embracing ViewComponent in Rails
π Kasper Timm Hansen published a new article about Refactoring Rails challenge: initializers
π Prasanth Chaduvula published an article about Rails 7.2 Adds Support For Devcontainer
How-TOs π
π Antoine Braconnier published an article about Secure your Stripe Webhooks and protect yourself from Captain Hook
π Aestimo Kirina published an article about Setting Up Custom Metrics with Effective Alerts for a Ruby App in AppSignal
π Kevin Sylvestre published a new article about Using OmniAI to Search LLM Embeddings with Ruby on Rails and Postgres
π Justin Toniazzo published an article about Supercharge your Rails logs with tags
π Andres Chacon published an article about Automate Your Ruby Gem Releases
π Juan Vasquez published an article about The Next Rails Gem
π Greg Navis published an article about War Against Bots
π Karol Galanciak published an article about RDS Database Migration Series - Integrating Ruby on Rails applications with RDS Proxy
Reply