Discover more from Short Ruby Newsletter
Short Ruby News - Edition #29
Briefly about everything happening in Ruby world - week 6 of 2023 (web edition)
You can jump directly to a section:
More content: 🎥 🎧 🗞 (articles, podcasts, videos, and newsletters)
🤗 Founding Members supporting this newsletter
You can subscribe for free
Or you can consider upgrading to paid
Investing in the Ruby Weekly Newsletter as a paid subscriber is a valuable way to support the community around you. For ~1.5$/week (6.5$ per month), you can support its growth and ensure that high-quality information about the latest developments in Ruby continues to be available to everyone, both paying and non-paying subscribers alike.
If you consider upgrading and want more information, please read Why to subscribe to paid
👐 Our Community
👐 We have to deal with hard truths, and one of these is an invasion happening in Ukraine, and we know at least one of our community members Victor Shepelev is there, facing complex challenges every day.
Yukihiro Matz Matsumoto shared Victor’s article that I invite you to read about Participating in programming language's evolution during interesting times
Here is the list of Twitter accounts from replies in a random order: @leenyburger, @amyhoy, @eileencodes, @adriannakchang, @sandimetz, @BrittJMartin, @saronyitbarek, @LiliVerrot, @JemmaIssroff, @nodunayo, @b0rk, @jessitron, @HeyChelseaTroy, @vaidehijoshi, @OngMaple, @womenonrails, @juuh42dias, @kytrinyx, @the_thagomizer, @lindaliukas
👐 RubyCentral published all videos from RubyConf 2022 Mini and Huston. Open the YouTube playlist
Here are some of the responses:
Learning to think about Rails security
Outdated learning material
Not knowing how to go off the rails
Domain modeling, especially abstract models
Struggling to model what they’re building in Ruby / Rails. Going from idea to paper kind of thing
Advanced ActiveRecord queries
👉 All about Code and Ruby
If you're to hire top Ruby on Rails talent, I'd like to introduce you to RailsDevs.com (referral link). This unique platform puts the power back in the hands of developers by allowing them to post their profiles and empowering companies to reach out to them. I believe in the value RailsDevs can bring to the hiring process, and I'm confident you will.
I invite you to use the referral link for RailsDevs.com so you can support this newsletter, too (it does not cost you anything extra).
You should read the entire thread, but in case you are curious about how the code looks like, here is step 9:
If you want to read more, there is an entire section called Format Specifications on docs.ruby-lang.org
Here are some replies from the conversation:
Here are some interesting gists from the replies:
Here is one explanation of how this works:
You can read the merged PR for more details about this.
Here are some replies from the conversation:
Here is what it looks like:
Here is one of the code samples he shared, but I suggest you read the entire thread:
Here are some of the answers but for the full context you should read the conversation:
The built-in authentication
TurboStreaming chunked HTTP requests from APIs
ActionController::Metal to ping endpoints
🧰 Gems, Libraries, and Updates
rails-graphql is a fresh new implementation of a GraphQL server, designed to be as close as possible to Rails architecture and interfaces, which implies that it has shortcuts, lots of syntax sugar, and direct connection with Rails features like ActiveRecord and ActionCable.
This gem has its own parser, written from scratch, using the C-API of Ruby, which empowers it with an outstanding performance. Plus, all the features provided were carefully developed so that everyone will feel comfortable and able to apply in all application sizes and patterns.
Here is a code sample:
A collection of tools to keep mocks in line with real objects.
🧰 Matt Swanson shared they merged a new feature to Rails 7.1 about Added option to show all headers for mailer previews
🤝 Related (but not Ruby-specific)
More content: 🎥 🎧 🗞
🗞Emmanuel Hayford announced a new edition of This Week in Rails Parameter filtering and an improved ActionView::Helpers::TagHelper#...
🗞 Nate Berkopec published a new edition of Ruby/Rails performance newsletter If queue times are getting long, consider optimizing the 95th percentile
🗞 Ruby Radar published a new edition Ruby Radar #89 - RubyConf 2022 Videos and DHH is Cooking
🗞 Women On Rails published a new edition Newsletter #43: the framework war, optimisation with Ruby, being promoted. The newsletter is available in French, Italian and Spanish.
🎧 Brittany Martin shared a new episode of The Ruby on Rails podcast: The Ruby’s Got You Covered World Tour with Kevin Murphy
🎧 Content For :Devs published a new episode about Streaming Magic with Christ Booth! - content_for :devs
🎧 Remote Ruby published a new episode about Concurrency Problems Bro | Remote Ruby | Episode 217
📽️ Drew Bragg shared his talk at Ruby Conf Mini 2022: Who Wants to be a Ruby Engineer? by Drew Bragg. If you like discovering Ruby tips, this talk is excellent and entertaining
Thomas Fernandez published an article about Ruby Adds Support for WebAssembly: What Does This Mean for Ruby Developers?
Joe Masilotti published a new article about Progressively enhanced Turbo Native apps in the App Store
Murtaza Bagwala published a new article on Saeloun about Rails preserves entry TTL when incrementing or decrementing an integer value
Wilbur Suero published Getting Started with Ruby on Rails - A Beginner's Guide - [Beginner]
Sulman Baig published an article about How to send slack notifications from Rails app using sidekiq
Akshay published an article about Docked Rails: Setup a Ruby on Rails Application on Docker
Paweł Świątkowski published a new article explaining various ways to think about events and their benefits while showing some examples of code design based on events: Events, events, events
🤗 Founding Members supporting ShortRuby
Drew Bragg, host of Code and the Coding Coders who Code it
Avi Flombaum, the founder of Flatiron School, is a product engineer interested in full-time/contract work.
Adrian Marin, creator of Avo - a Ruby on Rails application building framework
Adam McCrea, creator of Judoscale (formerly Rails Autoscale)—the dead-simple autoscaler for Rails, Sidekiq, etc.
Stephen Ierodiaconou from www.diaconou.com