Short Ruby News - Edition #89

You can jump directly to a section:

πŸš€ New Products & πŸ“… Events

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

🧰 Gems, Libraries, and Updates: πŸ†• New, 🧰 Updates and πŸ‘€ Keep an eye on

🀝 Related (but not Ruby-specific)

πŸš€ New Products

πŸš€ Alex Rudall launched LandingBurn.AI

πŸ“… Events

πŸ“… Amsterdam Ruby Meetup shared about the next edition of Rails Girls NL

πŸ“… Balticruby shared tickets are available at Baltic Ruby

πŸ“… Friendly.Rb shared that tickets are still available for Friendly.rb - Your friendly European Ruby conference. We (as ShortRuby and I are involved in organizing this conference) already have a very good list of speakers, and the CFP is open at friendlyrb.com/cfp

πŸ“… Madison+ Ruby shared tickets are still available at Madison Ruby: Your Ruby Community

πŸ“… Rails Camp Usa shared a short preview of how the agenda will look like. Tickets available at west.railscamp.us

πŸ“… Jason Swett shared that he is thinking about putting a small conference for freelancers:

πŸ‘‰ All about Code and Ruby

πŸ’» Code Samples

πŸ‘‰ Matt Swanson shared a code sample showing how they use ActionText::Content as a fallback for an optional rich text:

πŸ‘‰ Prabin Poudel shared about checking if a string is a valid JSON:

πŸ‘‰ Sean asked on StackOverflow how to create a new, empty Binding in Ruby. Richard Schneeman added a new answer to that question, proposing to use Ractors:

πŸ‘‰ Chris Oliver shared a code sample from a Rails PR about making Ruby 3.3 as target for Rails 8:

πŸ‘‰ Greg Molnar shared code samples about assertion-less test reporting in upcoming Rails:

πŸ‘‰ Daniel Lopes shared a code sample for doing flash messages in Rails:

πŸ‘‰ Greg Molnar shared a code sample about pluck accepting hash values in Rails 8:

πŸ‘‰ Ruby Cademy shared a tip about taking a single record using once:

πŸ‘‰ Chris Oliver shared a code sample about using a default value for belongs_to associations in Rails:

πŸ‘‰ Thiago Massa shared a code sample about setting Rails to raise exception on unpermitted parameters:

πŸ‘‰ Matheus Richard shared a code sample from active_record/relation.rb about how size checks if the records are loaded:

πŸ‘‰ Avi Flombaum shared a code sample to be added on the Rails console:

πŸ‘‰ Fran Zekan shared also a code sample that adds some helpers to Rails console:

πŸ‘‰ Matt Swanson shared a code sample showing a Stimulus controller that helps emit custom event

πŸ‘‰ Ruby Cademy shared a code sample about using destroyb_by method:

πŸ‘‰ Fabian shared a code sample about replacing the src of a turbo frame using a turbo frame:

πŸ‘‰ Dima Fatko shared an invitation to execute rubocop with β€”profile option:

πŸ‘‰ LΓ‘zaro Nixon shared about how in Rails 8 Active Record used bind variables instead of concatenated strings:

πŸ‘‰ Josef Strzibny shared about Kamal 1.5 changing the build target:

πŸ‘‰ Erwin Kroon shared a code sample and asked what happens when executed:

πŸ“ Thinking about Code Design

πŸ‘‰ Maxime Chevalier shared in a reply performance data for using YJIT at Shopify and Github:

πŸ‘‰ Greg Donald shared about how to think about flaky tests:

πŸ‘‰ Joe Masilotti asked about Rails and approaches for Authentication:

I will summarise here some responses, but you should subscribe to Joe's newsletter to receive a very good article about all these approaches:

  • Building from scratch using Rails 7.1 features. GoRails has a good tutorial about this

  • revise_auth gem - β€œA pure Rails authentication system like Devise”

  • authentication-zero gem - β€œAn authentication system generator for Rails applications”

  • devise gem - β€œFlexible authentication solution for Rails with Warden”

  • passwordless gem - β€œAuthentication for your Rails app without the icky-ness of passwords”

  • clearance gem - β€œRails authentication with email & password.”

  • rodauth-rails gem - β€œRails integration for Rodauth authentication framework”

  • sorcery gem - β€œMagical Authentication for Rails. Supports ActiveRecord, DataMapper, Mongoid and MongoMapper”

  • nopassword gem - β€œLogin via email, SMS, or whatever would use a temporary code”

  • action_auth gem - β€œActionAuth is an authentication Rails engine crafted to integrate seamlessly with your Rails application. Optimized for Rails 7.1.0”

πŸ‘‰ γƒγ‚³γƒšγƒƒγ‚―γƒγ‚€γƒˆ shared about upgrading Ruby helping with decreasing response time:

πŸ’‘ Around code (news, findings, books, and more - all about Ruby)

πŸ‘‰ Felipe Vogel shared a list of Ruby libraries that can be used to build text-based games:

Here is a list of the projects linked by Felipe:

πŸ‘‰ Ruby For All shared about moving to YouTube at Ruby for All

❀️ Why Choose Ruby

❀️ Ruby On Rails announced they sold out the tickets in less than 20 minutes:

❀️ Brice Ayres shared about how fast it is to build an MVP with Ruby on Rails:

❀️  Tobi Lutke shared a benchmark about Time to First byte latenceis Is my host fast yet? where Shopify is the top web app:

❀️ Zach Holman shared about using Rails for 19 years:

❀️ Nick Schwaderer shared about using Ruby on Rails:

🧰 Gems, Libraries, Tools and Updates

πŸ†• New Gems and Repos

🧰 Updates

🧰 David Rodriguez announced a new version of RubyGems:

🧰 J Ruby Dev Team announced a new version of JRuby 9.4.7.0 Released β€” JRuby.org

🧰 Stan Lo announced a new version of Release v1.13.0 Β· ruby/irb

🧰 John Nunemaker announced a new version of httparty

🧰 Mari Imaizumi announced a new version of Release v0.5.4 Β· ruby/reline

🧰 Vladimir Dementyev announced a new version of freezolite:

🧰 Yuichiro Kaneko announced a new version of Release v0.6.9 Β· ruby/lrama

🧰 Kevin Newton announced a new version of Release v0.28.0 Β· ruby/prism

πŸ‘€ Keep an eye on

πŸ‘€ Peter Zhu submitted a new feature to Ruby about Extract Ruby's Garbage Collector

🀝 Related (but not Ruby-specific)

🀝 Mohammad A. Ali shared a thread about backup SQLite:

🀝 Josef Strzibny shared about writing a book:

🀝 Brandon Weaver shared 4 quadrants of Stability vs Test Coverage:

🀝 Jason Charnes shared about clever code:

🀝 David Nix shared about using SQLite:

🀝 Jason Swett shared about SOLID:

🀝 Uncle Bob Martin shared about types and tests:

🀝 Paul Graham shared about CSS:

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

πŸ—ž Newsletters

πŸ—ž Hotwire Weekly published a new edition about Week 18 - Hotwire at RailsConf, migrating from React to Hotwire, and more!

πŸ—ž Allison Pike published a new edition of Once a Maintainer about Once a Maintainer: Rafael FranΓ§a

πŸ—ž Greg Molnar published a new edition of This Week in Rails about Ruby on Rails β€” Rails console improvements, assertionless tests reporting and more!

πŸ—ž Ruby Weekly published a new edition about ActiveRecord::Core#inspect woes

πŸ—ž Ruby LibHunt published a new edition of Awesome Ruby Newsletter - Issue 415, May 02, 2024

🎧 Podcasts

🎧 Jared White published a new podcast about Episode 10: Ruby un Rails (and Proof of Life Update)

πŸ“½οΈ πŸŽ₯ Videos

πŸŽ₯ Tropical.Rb published the videos on YouTube at Tropical.rb - 2024

Screencasts

πŸŽ₯ Drifting Ruby published a new video about Episode 455 - Tips and Tricks

πŸŽ₯ Jason Swett published a new video about Workshop Preview: TDD for Absolute Beginners

✍🏾 Articles

What’s new πŸ†•

Andrei Maxim published a new article about In Relentless Pursuit of RESTful Webhooks

David Copeland published an article about Ruby's Complex Branching Options

Thiago AraΓΊjo Silva  published an article about Advanced Ruby: The Chainable Request Pattern

Evgeny Li published an article about Choosing the Right Audit Trail Approach in Ruby

Brandur Leach published an article about Ruby typing 2024: RBS, Steep, RBS Collections, subjective feelings

Christopher Coleman published an article about Enumerable: Filter Feeder

TrΓ©sor Bireke published an article about Rack_Test or Selenium ?

Mohammad A. Ali published a new article about Backup strategies for SQLite in production

Abiodun Olowode published an article about AnyCable for Ruby on Rails: How Does it Improve over Action Cable?

Brooke Kuhlmann published an article about Module Builder Pattern

Mohammad A. Ali published an article about Backup strategies for SQLite in production

Gelsey Torres published a new article about An Introduction to Software Quality (Part 2): What Is Technical Debt?

Augusts Bautra published an article about Use stateless services

Dom Christie published an article about Turbo Teapot

How-TOs πŸ“

Ash Gaikwad published an article about How to setup VS Code for Ruby

Paul Sadauskas published an article about Using Local Font Files in the Rails 7.1 Asset Pipeline

Alexandre Ruban published a new article about How to build a Cmd+k search modal with Hotwire

Prasanth Chaduvula published an article about Rails Adds GitHub CI Workflow By Default To New Applications

Luan GonΓ§alves published an article about Setting up ActiveStorage + CloudflareR2 + Quill

Deep Dives πŸ”

Akshay Khot published an article about Working with Resourceful Routes in Ruby on Rails

Related

Ahmed Nadar published an article about Your True Value Beyond The Job Title

Adrian Oprea published a new article about Personal project managent

Mohit Sindhwani published a new article about Portable setup for PostgreSQL on Windows (Pg16 Edition)

Reply

or to participate.