- Short Ruby Newsletter
- Posts
- π Short Ruby News - edition #22
π Short Ruby News - edition #22
Briefly about everything in Ruby world
This edition was created with the help of @adrianthedev/@[email protected] from Avo for Ruby on Rails (a friendly full-featured Rails admin panel) and @jcsrb.
You can jump directly to one of the following sections if you like:
π Our Community
More content: π₯ π§ π (articles, podcasts, videos, slides and newsletters)
π Our Community
π Drew Bragg invited me to his podcast. If you want to learn more about why I wanted to create this newsletter and some further plans I have for it, listen to Episode 12 - Lucian Ghinda (available on all platforms), and please be kind, as this was my first podcast ever π
You can install it right now with:
π Sad news hit the community this week when we learned that Chris Seaton had died:
Mike Dalessio first shared this news on Twitter and Ruby.social along with the words from the Shopify Ruby and Rails Infrastructure team.
A lot of people shared how amazing Chris was:
Read replies about the announcement on Ruby.social
Read the HN thread about the announcement.
Read the comments on Reddit.
If you need more context to process this, Richard published a good thread about how to think about this event. Please be safe! Call a friend or colleague today and see how they are!
π Richard Schneeman asked on Reddit about suggestions for Ruby accounts to follow on Mastodon:
π u/ogarocious asked on r/rails about stories of landing their first junior entry-level RoR job:
Read the replies, as there are good stories there.
π All about Code and Ruby
π£οΈ Sticking to their once-every-two-weeks schedule, Adrian and Paul launched Avo 2.21. This week's release makes it way easier to authorize at row-level the has_many associated records, adds the disabled option to fields to give you more control over how you display them in a form, and adds callable action messages where you can customize the action messages using the selected record, current_user, context data and more, making it even more dynamic:
(Avo has supported Short Ruby from the beginning. Thank you!)
π Greg Navis shared a code sample showing the helper methods defined by belong_to in Rails:
π Cezar Halmagean shared a list of topics that are important to focus on when learning Rails
π Joel Drapper announced the release of Phlex 1.0:
πKonnor Rogers published the first version of Rhino Editor - an Actiontext compatible editor (currently based on TipTap and having plans to integrate with ProseMirror):
πCezar Halmagean shared some ideas to build with Rails:
π Greg Navis shared a code sample about working with Ruby date objects:
πKo1 shared a link to Ruby Consultancies Companies
πKevin Newton shared a Ruby code sample showing a bit of the Perl heritage/inspiration:
Josh Cheek replied, showing more examples:
πChris Oliver shared a code sample showing how to use custom Turbo StreamActions in Rails:
π Greg Navis shared a thread showing the Ruby Forwardable module:
π Tim Morgan shared their Compiler Fun series:
πDavid Teren shared a guide written with ChatGPT help about Paradigms of Ruby: OOP Principles & Design Patterns
π u/Merlynndo asked a question on r/ruby about how to get better quickly:
Here are some of the responses:
Books: Programming Ruby 3.2, Practical Object Oriented Design with Ruby
βIf you need to edit something and you donβt understand the surrounding code, do some googling (or searching api references) to figure it out. Likewise, if you find an example code somewhere, take the time to understand it and all the syntax. Thatβs a quick way to pick up lots of useful knowledge.β (source)
Pair programming with many people in the company to get technical knowledge and domain and company-specific knowledge (source)
If you have read so far and you like the content, maybe you take into consideration sharing this and subscribing:
π§° Gems, Libraries, and Updates
π§° Brad Gessler shared they added in sitepress support for Phlex and ViewComponents: read the commit
π§° Gavin Morrice talked about their gem jiminy. Here is a good explanation from gem Github:
π§° Vladimir Dementyev released a new version of test-prof: Read release notes for v 1.1.0
π§° Kevin Newton published a new gem rails-pattern_matching:
This gem provides the pattern matching interface for ActiveModel::AttributeMethods, ActiveRecord::Base, and ActiveRecord::Relation
Here is a code sample:
π§° Bozhidar Batsov published a new version of Rubocop: Read release notes for v1.40. New cops added:
π§° Leastbad shared a new version for stimulus-hotkeys v2.3:
π§° Alessandro Rodi published a new gem named validation_errors:
π§° Guillaume Briday shared a npm package they created turbo-frames-debug that helps add debug information for turbo frames.
π§° A new improvement is coming in Ruby: ObjectSpace.dump_all: dump shapes as well
π€ Related (but not Ruby-specific)
π€Jason Swett shared about making sure the AI writes also tests not only code:
π€ Peter Solnica shared:
More content: π₯ π§ π
Slides
Charles Oliver Nutter shared their slides from RubyConf: Using JRuby: What, Why, When, and How
Nate Berkopesc shared their slides from RubyConfTh about: A Beginnerβs Guide to Puma Internals
Newsletter
π Greg Molnar published a new edition of This Week in Rails: Disabled IRB autocompletion, bugfixes and more!
π Ruby Radar published a new edition: Ruby Radar #80 - Rest In Peace, Chris Seaton
ποΈ Ruby Weekly published a new edition: RIP Chris Seaton
ποΈ Ruby LibHunt published a new edition of the Awesome Ruby Newsletter
Podcasts
π§Jason Swett published a new episode of The Code with Jason Podcast: 166 - Feature Flags and Duplication with Julian Fahrer
π§ Code And The Coding Coders Who Code It published a new episode Episode 12 - Lucian Ghinda
π§ The Ruby on Rails Podcast published a new episode Episode 447: Rubyconf Mini Recap + The Rails Foundation (Brittany + Jemma + Emily)
π§ Ruby For All published a new episode about GitHub Codespaces & Julie's RubyConf Mini Recap
π§ Remote Ruby shared a new episode about Jason gets Twitchy with Hanami
Videos
π₯ Creston Jamison shared a new episode for Rubber Duck Dev Show: What Happens After RubyCritic with Ernesto Tagwerker
π₯ The Rubber Duck Dev Show shared the last episode this year about Should you store business logic in your database?
π₯ Nate Hopkins published a new video about Quick intro to ReflexBehaviors
π₯ The Rubber Duck Dev Show shared a stream from Jason Charnes about using Hanami. There are already two videos saved on Jason stream:
π₯ Drifting Ruby published the video version of This Week in Rails - Dec 9th, 2022
π₯ Deanin published a new video about Keyboard Hotkeys With Stimulus In Ruby On Rails 7
Articles
Celso De Sa published an article about SOLID Principles Explained by GPT-3 with Analogies and Ruby Code
Mike Munroe shared an article they published about their program of helping junior Rails devs OBLSK 30/60/90 Apprenticeship Program
PaweΕ ΕwiΔ tkowski published a new article on AppSignal about A First Look at Hanami 2 for Ruby
Gavin Morrice published an article about Understanding n+1 query problems in Ruby on Rails
Kevin Newton published a series of articles this week explaining how the CRuby virtual machine works. These articles are great if you are looking to understand how Ruby works inside:
Advent of YARV: Part 5 - Changing object types on the stack
Advent of YARV: Part 6 - Calling methods (1)
Advent of YARV: Part 7 - Calling methods (2)
Advent of YARV: Part 8 - Local variables (1)
Advent of YARV: Part 9 - Local variables (2)
Advent of YARV: Part 10 - Local variables (3)
Advent of YARV: Part 11 - Class and instance variables
Benito Serna published a new article about Examples to explore possible race conditions when caching custom computed values in Rails
Thought Bot published a new article about A Journey into Site Reliability Engineering.
Scott Watermasysk published an article about Optimizing ActiveRecord SQL Memory Usage in Rails
Greg Navis shared an article they wrote about Elixir-style Pipelines in 9 Lines of Ruby
Janko MarohniΔ published an article about Social Login in Rails with Rodauth
Workhunty published an article analyzing data from Linkedin: Number of open positions for Ruby jobs per country
Reply