Short Ruby News - Edition #81

You can jump directly to a section:

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

❀️ Why Choose Ruby

πŸš€ New Products

πŸš€ Garrett Dimon launched  Frictionless Generators

πŸš€ Ruby Cademy launched a new course about Course: Personal Branding

πŸš€ Deepak Mahakale launched a new Rails Command Generator:  

πŸš€ John Nunemaker (pre)launched FlipperCloud Pro:

πŸ“… Events

πŸ“… Sergy announced that Baltic Ruby call for papers is open at  PaperCall.io - BalticRuby

πŸ“… Jeremy Smith shared the form for Ruby on Trails

πŸ“… Balkan Ruby published their lineup at balkanruby.com

 πŸ“… Madison+ Ruby announced that registration is open at Madison Ruby: Your Ruby Community

πŸ“… Rails Camp USA announced that registrations are open at west.railscamp.us

πŸ“… Irina Nazarova shared that SF Bay Area Ruby Meetup will take place on March 28:

πŸ“… Ruby Kaigi announced the Speakers lineup:

πŸ“… Euruko shared the first speakers for EuRuKo 2024: Steven Backer, Victor Shepelev and Xavier Noria:

πŸ“… Jason Swett announced the Schedule - Sin City Ruby

πŸ‘‰ All about Code and Ruby

πŸ‘‰ Hanami announced a new version of Hanami 2.1: Views that are a sight to see

πŸ‘‰ Rafael Franca shared his feelings about contributing to open-source:

An apology was given, and Rafael gracefully accepted it.

Eileen M. Uchitelle also shared about fixing security vulnerabilities:

πŸ‘‰ Ruby On Rails shared that the documentation for ActiveModel is ready for community review at [RF DOCS] Active Model Basics Documentation [ci-skip] by Ridhwana Β· Pull Request #51210 Β· rails/rails

πŸ‘‰ Stephann V. asked about organizing validations in Active Record model:

πŸ‘‰ Adam Rice shared a code sample showing how to implement a RAils health check:

πŸ‘‰ Ruby On Rails shared a tip about normalizes:

πŸ‘‰ Ben Curtis shared how they are upgrading Rails by starting a new project and moving files from the old one:

πŸ‘‰Brandon Weaver asked about getting the inner contents of a block function at runtime and provided a solution for it:

πŸ‘‰I shared a command line for using Ripgrep to search Ruby files:

πŸ‘‰ Joshua shared  a code sample running on February 29 and showing differences in date time distances:

πŸ‘‰ Owais Khan shared about using the class_names helper:

πŸ‘‰Peter Solnica asked for feedback on a Ruby code using pattern matching:

Here are some replies from Mastodon and Twitter. But before agreeing or with either the proposed code or the replies, I think it helps to consider that is is so great that we can have this kind of discussion in public. We should appreciate the author asking for feedback and people taking the time to answer. It is a learning opportunity, so agreeing and disagreeing politely would help have more of these conversations:

πŸ‘‰ Brad Gessler shared a code sample showing a mix of endless method and pattern matching in Ruby:

πŸ‘‰ Kevin Newton shared a code sample showing how to run flog by using Prism:

πŸ‘‰ Jeremy Smith shared a blog post from Noel Rappin with a code sample Better Know A Ruby Thing #4: Keyword Arguments

Andy Waite added:

πŸ‘‰ Benito Serna shared a code sample about keeping in sync page header and title in Rails:

πŸ‘‰ Xavier Noria shared about an undocumented and discouraged-to-use feature of Zeitwerk:

πŸ‘‰ Owais shared gist about finding unnecessary indexes Print redundant indexes in a Rails app.

πŸ‘‰ Benito Serna shared about building a back link:

πŸ‘‰ John Nunemaker shared about reducing APM costs:

πŸ‘‰ Ruby Cademy shared about the presence helper from Rails:

πŸ‘‰ Benito Serna shared about a helper for confirming a message:

πŸ‘‰ JRuby Dev Team asked about real-world JRuby app stats about JVM classes loaded:

πŸ‘‰ Ruby Cademy shared about how Active Record when raising an RecordInvalid will save the record in the error object `record` attribute:

πŸ‘‰ Janko MarohniΔ‡ shared about a comparison between ActiveRecord and Sequel:

πŸ‘‰ Jason Swett shared about DRYing a code sample:

πŸ‘‰ JoΓ«l Quenneville shared about code smells:

πŸ‘‰ Nate Hopkins shared about how to speed out Capybara has_content? matcher:

πŸ‘‰ Jason Swett shared a tip about RSPec/Factory bot:

πŸ‘‰ Joel Drapper shared about a prototype they are working on:

πŸ‘‰Marco Roth shared about Stimulus LSP:

πŸ‘‰ Maciej Mensfeld shared a benchmark about running Karafka with 3 independent processes vs Swarm (see Swarm / Multi Process - Karafka framework documentation):

πŸ‘‰  Jason Swett announced the repository for saturnci: SaturnCI

πŸ‘‰ John Nunemaker shared a prompt for an Active Record query:

πŸ‘‰ Mika Henriksson shared about using Concerns to group functionality and easily replace the service object:

πŸ‘‰ Matt Swanson shared about using pghero:

πŸ‘‰ David Heinemeier Hansson shared they are starting to use Neovim with Lazyvim distribution:

πŸ‘‰ Colleen Schnettler asked about hosting Ruby on Rails apps:

Here are some recommendations:

πŸ‘‰ Dean De Hart shared about tutorials using Windows and teaching Rails:

πŸ‘‰ Josef Strzibny shared they are working on a new book called Kamal Handbook:

πŸ‘‰ Joel Drapper shared about choosing SQLite for a new project:

πŸ‘‰ Justin Marsh shared about learning SQL and thus writing better ActiveRecord queries:

❀️ Why Choose Ruby

❀️  Maciej Mensfeld shared about giving back to the community:

❀️ Devin Mork shared about Ruby syntax

❀️ Felipe Vogel shared about how Ruby is easy to pick up:

❀️ Postmodern shared about the RubySec community:

❀️ Devin Mork shared how Rails has so much back:

❀️ Amanda Brooke Perino shared about helping launch RailsGirls Sao Paolo:

❀️ Jeremy shared about their progress of building Caley with Rails:

❀️  Kevin Menard shared about Prism project:

❀️ Adam Rice shared about how coding with Rails feels like native:

❀️ Daniel Bergholz shared about using Rails:

❀️ Bozhidar Batsov shared their gems were downloaded 1 billion times:

❀️ Austin Wasson shared about how building Caley with Rails and Hotwire is amazing:

🧰 Gems, Libraries, Tools and Updates

🧰Brooke Kuhlmann announced a new version of Hanamismith with support for Hanami 2.1:

Rosa added:

πŸ†• 🧰 RΓ©my Hannequin announced they released a new gem astronoby - Ruby library based on astrometry books. You can read more about it here

πŸ†• 🧰 Mario Alberto ChΓ‘vez announced a new Ruby on Rails application template rails-app-template

🧰 Bozhidar Batsov announced a new version of Rubocop about Use .config to store your project configs

He also shared:

🧰 Samuel Williams announced a new version of async-job-rails-example

🧰 Joe Masilotti announced a new version of Release v1.0.0-beta2 Β· hotwired/strada-ios

🧰 Jose Farias announced a new version of hotwire-combobox

🀝 Related (but not Ruby-specific)

🀝 Hans Schnedlitz shared their updated Git configuration:

🀝 John Carmack shared about coding and AI:

🀝 Jason Swett shared about putting data at the top of the test file:

🀝 Irina Nazarova shared a long post about running a successful open source based business (open it to read the entire post, I included here just a part of it):

🀝 I shared about how to show your work when you think there is nothing to share:

🀝 Gary Bernhardt shared about how computers work:

🀝 Jason Swett shared about code quality:

🀝 George Mayer shared about reviewing your diffs:

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

πŸ—ž Newsletters

πŸ—ž Ruby on Rails published a new edition about Added fixture method and bugfixes

πŸ—ž Hotwire Weekly published a new edition about Week 09 - Turbo Morph Debugging, ChatGPT Hotwire rebuild, and more!

πŸ—ž Women On Rails published a new edition of Newsletter WoR #56: Turbo 8, Silicon Valley is accelerating, a little Rust...

πŸ—ž Ruby Central published a new edition about February 2024 Newsletter

πŸ—ž Andy Croll published a new edition of One Ruby Thing about Validate Email Addresses

πŸ—ž Ruby Weekly published a new edition about Sidekiq, under the hood

πŸ—ž Ruby Libhunt published a new edition about Issue 406 - Hanami 2.1: Views that are a sight to see

🎧 Podcasts

🎧 Yaroslav Shmarov and Adrian Marin published a new podcast about Meet SQLite Jesus, Steven Memenheim - Friendly Show

🎧 Postgres FM published a new episode about Rails + Postgres

🎧 The Bike Shed published a new podcast about The Bike Shed: 416: Multi-Dimensional Numbers

🎧 The Ruby on Rails Podcast published a new episode about Episode 509: The Future Of Ruby Central with Adarsh Pandit

🎧 Lucas Barret published a new podcast about GemRuby Show: Evgeniy Demin, Database Consistency

🎧 The Bike Shed published a new episode about 416: Multi-Dimensional Numbers

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

Screencasts

πŸŽ₯ Drifting Ruby published a new video about Episode 444 - Campfire Bots

πŸŽ₯ Kasper Timm Hansen published a new video about Riffing on Rails: Lawyer Contract Consolidations and a whole Forum modelling

πŸŽ₯ Yaroslav Shmarov published a new video about Rails #160 Meta Tags. Open Graph, SEO, social sharing previews

πŸŽ₯ Jason Swett published a series of videos:

πŸŽ₯ Web Crunch published a new video about Infinite Scroll with Rails and Turbo - No JavaScript

πŸŽ₯ Drifting Ruby published a new video about Episode 445 - Streaming LLM Responses

πŸŽ₯ Dean De Hart published a new video about Deploying to Railway, FlyIO, and Render with Rails and continued streaming the work on Linktree clone

✍🏾 Articles

What’s new πŸ†•

David Copeland published an article about Methods Don't Succeed Our Fail: They Have Outcomes 

Mike Perham published an article about Serializing Ruby Datatypes In JSON

Siddharth Shringi published an article about Rails 8 Adds Brakeman By Default To New Applications

George Kosmopoulos Sara Jackson published an article about Linear Regression Using Dataframes In Ruby

Mohit Sindhwani published a new article about Ruby Tips 12 - Simplify your code with Ruby Array values_at

Mohammad A. Ali published a new article about Make your SQLite based applications Roaring fast

John Nunemaker published an article about Control Metered Costs with Feature Flags

Deep Dives πŸ”

Senem Soy published an article about Debugging The Zeitwerk Migration

Akshay Khot published an article about What Does The Frozen String Literal Comment Do In Ruby?

Daniela Baron published an article about Efficient Database Queries in Rails: A Practical Approach

How-TOs πŸ“

Jon Lunsford published an article about Refactoring Ruby: Introduce Null Object

William Neal published an article about Markdown in Rails with Phlex and Sitepress

Josh Justice published an article about Running Rails On Aws Elastic Beanstalk

MatouΕ‘ BorΓ‘k published an article about Building a syntax highlighting extension for VS Code

David Boureau published an article about The simplest turbo-frame example

Stefan Botzenhart published an article about How I do custom key lookup with Rails I18n

Alkesh Ghorpade published an article about Comprehensive Guide to SimpleCov Gem

Radan Skoric published an article about How to debug issues with Turbo Morphing

Vitalii Elenhaupt published an article about Chartkick and turbo frames - elevating rails visuals

Related

Irina Nazarova and Anton Lovchikov published an article about The Complete Guide To Multi Tenant Saa S, Part 1: Collaboration

Reply

or to participate.