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:

πŸš€ Launches & πŸ“… Events

πŸ‘‰ All about Code and Ruby: πŸ’» Code, πŸ“Code Design,πŸ’‘Around, ❀️ Why Choose Ruby

🧰 Gems, Libraries, and Updates: πŸ†• New, 🧰 Updates

🀝 Related (but not Ruby-specific)

[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:

πŸ‘‰ 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:

οΈπŸ’» Samuel Williams shared a benchmark between multiple background processing gems:

πŸ“ Thinking about Code Design

️ οΈπŸ“ ️JP Camara shared their thoughts about a post about Concurrent::Hash by RubyCademy:

πŸ“ 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 

❀️ 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:

❀️ Amias Yaska shared also:

❀️ Cayter shared about pivoting to Rails:

🧰 Gems, Libraries, Tools and Updates

πŸ†• New Gems and Repos

🧰 Updates

🧰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

🧰 Camden Narzt announced a new version of Passenger 6.0.23

🧰 Janko MarohniΔ‡ announced a new version of Release 1.15.0 Β· janko/rodauth-rails

🀝 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:

More content: πŸ“š πŸ—ž 🎧 πŸŽ₯ ✍🏾

πŸ“š Jeremy Smith their slides from Baltic Ruby about Refactoring Volatile Views into Cohesive Components

πŸ“š 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

πŸŽ₯ 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

Reply

or to participate.