- Short Ruby Newsletter
- Posts
- Short Ruby News - Edition #45
Short Ruby News - Edition #45
Discover the world of Ruby in this comprehensive newsletter covering week 22 of 2023. Find code samples, community updates, gems, resources, and thought-provoking discussions.
You can jump directly to a section:
π Our Community
More content: π π π§ π₯ βπΎ (articles, podcasts, videos, newsletters, books and slides)
πΈ For only $1.5 per week (just $6.5 a month), you can become a paid subscriber and contribute to the success of the flourishing Ruby community we all adore while receiving an ad-free version of the newsletter!!
π Our Community
π Ruby Conf Th announced a new speaker for RubyConf TH 2023
π Helsinki Ruby announced a new conference: Oh the Humanity!
OH!2023 is a single track conference for people who are interested in helping humanity thrive by supporting the well-being, information sharing and democracy in software development and beyond.
π Ruby On Rails shared about their partnership with Agency of Learning to develop Rails World app
π Wnb.Rb announced a new signup form at www.wnb-rb.dev/join-us
π I think it would be good to reply to these conversations. It would be great to have a wide range of reasons why learn Ruby or Rails in 2023. And if you have a personal blog, put that also on your blog. Few resources discuss why to learn Ruby and talk for people outside our language.
π Nick Schwaderer shared an invitation to join scarpe-team/scarpe: Scarpe - shoes but running on webview
π All about Code and Ruby
πͺ§ Have you considered inviting your company to sponsor this newsletter? If you are using Ruby on Rails I think your company is a perfect fit :)
You can send the sponsorship packages info to your marketing, HR, or product management teams.
I'm happy to assist you with drafting an email. Simply send me a message at [email protected] I'll do my best to draft an email for you to send inside your organization.
π Tom Stuart shared a problem they encountered while trying to configure --backtrace-limit via RUBYOPT
Chris Zetter shared that this is not possible with RUBYOPT:
π Rob Yurkowski shared a code sample about using `%r()` and `%r{}`:
π I shared they will start a series of threads about code formatters. This week is about rufo. Here are two of my tweets, but I invite you to read the entire thread:
π Rob Whittaker asked a question about how Rails should handle an invalid submission in a dropdown form with scoped values based on the user's role:
Here are two replies, but you should read them all to have the context:
πAlexandre Ruban shared about itself method in Ruby:
π Ruby Cademy shared about endless method syntax:
π Xavier Noria shared about loading schema when setting up a project instead of running migrations:
π Maciej Mensfeld shared they mitigated an attack on RubyGems before being able to do any harm:
π Chris Oliver shared about Rails 7 Active Record excluding method:
π Kevin Newton shared about regular expression options in Ruby:
π Jess Brown shared about a possible bug with Date in Ruby:
π Matt Swanson asked about how to limit job running on different accounts:
Here are some of the replies:
For an in-depth discussion about job fairness you should read this document by Vladimir Dementyev
π Ruby Cademy shared a tip about using install_if in Gemfile:
πAndrew Hodson shared that Rails 7.1 has support for async_pluck
π Kevin Newton shared the addition of a new instruction, opt_newarray_send, to the YARV instruction set:
π Matt Swanson shared a code sample showing how to implement with_retries:
Here are some proposed solutions:
π Josef Strzibny shared a code sample showing how to tell ActiveRecord which index to use:
π Ruby Cademy shared a code sample showing object-to-proc technique:
π€ I imagine that if you have read this so far, you find value in this newsletter.
π§° Gems, Libraries, and Updates
π§° Mike Dalessio announced that Update Action View to use sanitizers based on HTML5 parsing is merged to Rails 7.1
π§° Jamie Tanna announced the launch of `openapi-sorbet`, a command-line tool for generating Sorbet types from OpenAPI. Link to repository for schema-sorbet:
π§° Ronin Rb announced the launch of ronin-exploits: A Ruby micro-framework for writing and running exploits
π§° Nate Berkopec announced the version 6.3.0 of Mugi No Toki Itaru Β· puma/puma
π§° LΓ‘zaro Nixon shared a PR merged to Rails that will Fix polymorphic association subquery
π§° Jeremy Evans announced the release of version 5.69.0 of sequel. Read the release notes
π§° LΓ‘zaro Nixon announced a new PR merged to authentication-zero about Add multi tenant artifacts
π§° Bozhidar Batsov announced a release of version 1.52 of rubocop Read the release notes
π§° Jason Meller announced a PR was merged to Rails about Pass params to url_for that ONLY get used for named segments; otherwise discard them
π§° Mari Imaizumi announced the release of version 1.7.0 of irb Read the release notes
π§° Jeremy Hinegardner posted a discussion on Puma about Recommended way to implement plugin configuration
π§° Maciej Mensfeld announced a new release of Karakfa and published an article about all the changes in Karafka 2.1.0:
π§° ViewComponent announced the release of version 3.1.0. Read the release notes
Please consider becoming a paid subscriber to support this newsletter for just $1.5/week ($6.5/month). Your contribution aids growth and maintains the quality of ShortRuby for everybody while receiving an ad-free version:
If you consider upgrading and want more information, please read Why to subscribe to paid
π€ Related (but not Ruby-specific)
π€ Ryan Bates shared a tip about git checkout and going back to the previous branch:
π€ Dr. Milan MilanoviΔ shared some stats about how long software engineers stay at a job:
π Nate Hopkins shared about how performance is related to doing fewer things:
More content: π π π§ π₯ βπΎ
π Books & Slides
ποΈ Xavier Noria shared their slides from RailsSaas in Athens
π Sandi Metz shared that 99 Bottles β Sandi Metz has a 40% off discount until 13th of June.
π Newsletters
ποΈ Greg Molnar published a new edition of Rails Tricks - Modify database schema with migrations - Rails Tricks Issue 9
ποΈ Ruby On Rails published a new edition of This Week in Rails - HTML5 sanitizer, path_params and more
ποΈ Ruby Libhunt published a new edition of Awesome Ruby Newsletter - Issue 367
ποΈ Ruby Radar published a new edition about Your Sunday Scoop of Ruby
ποΈ Ruby Weekly published a new edition: Euruko's back for 2023
π§ Podcasts
π§ Ernesto Tagwerker shared a new episode of IndieRails | Ernesto Tagwerker - Building an agency & productized services
π§ Tightly Coupled Book Club shared a new episode about the Tightly Coupled Book Club - Active Record Migrations (chapters 1-4)
π§ The Build And Learn Podcast published an episode about Build and Learn | Chris Oliver: Building a Life (and Businesses) on Rails
π§ The Ruby On Rails Podcast published a new episode about All I Wanted Was An Environment Variable (thoughtbot) with Victoria Guido and Joe Ferris
π½οΈ π₯ Videos
Talks
π½οΈ Justin Searls shared their RailsConf 2023 talk about Let's Standardize Rails!
π½οΈ Jason Swett shared an older episode from Code With Jason Meetup in Europe about How to get freelancing clients
π½οΈ Joe Masilotti published a video about Turbo Native in 15 minutes
Screencasts
π₯ Yaroslav Shmarov published a new video about Ruby on Rails #134 Date Range Picker
π₯ Hanami Mastery published a new episode about Contact Forms with Hanami View
π₯ Alexandre Ruban published a new video about Learn to create internal gems in your Rails applications by rebuilding Pundit in 30 lines of code
π₯ Chris Oliver announced they published a new video in GoRails Learning Path about Build a Password Manager with Rails 7 Series
π₯ Matt Swanson published a video about Walking through some code where hiding the implementation details is Not Good Actually
π₯ Dean De Hart published a new video about Active Record Encryption in Ruby on Rails 7
π₯ GoRails published a video about The difference between Link_to vs Button_to in Ruby on Rails
π₯ Drifting Ruby published a new episode Episode 404 - Page Not Found
βπΎ Articles
Whatβs new
Andy Croll published a new article about Really, Really, Really Donβt Interpolate Strings into Active Record Methods
Carla Urrea Stabile published a new article about What's the Right Authorization Model for My Application?
Jorge Manrubia published an article about A Friday email incident
Nathan Willson published a new article about RubyKaigi 2023: Matsumoto
Konnor Rogers published a new article about button_to vs link_to and the pitfalls of data-turbo-method
Josef Strzibny published a new article about I am building a Ruby on Rails SaaS template
How-Tos
Matt Brictson published a new article about Advanced techniques for calling HTTP APIs in Ruby
Keshav Biswa published a new article about Shaping Rails to Your Needs, Customizing Rails Generators using Thor Templates
Gowsik Vivekanandan published an article about Extract Sample Rate of an Audio File with Audio Analyzer in Rails 7.1
Dr Nic Williams published an article about 7 steps to setting up Stripe payments with Jumpstart Pro
Aestimo Kirina published a new article about How to Use Sinatra to Build a Ruby Application
Akshay Khot published an article about Generating Secure Tokens on Your ActiveRecord Models
Janko MarohniΔ published a new article about Upgrading from Selenium to Cuprite
Akshay Khot published an article about How to Create a Form with Multiple Submit Buttons to Different URL Endpoints
Okarsono published a new article about Capturing browser console logs on automated test
Deep Dives
Ben Sheldon published a new article about Rebuilding Concurrent Ruby: ScheduledTask, Event, and TimerSet
Benoit shared an article from Gitlab about Efficient `IN` operator queries
Related
Josef Strzibny shared a resource about Don't Do This - PostgreSQL wiki
Shami (Jose Miguel) Tomita Rodriguez published an article about Git Rebase/Squashing Commits
Lucas Barret published an article about Let's MERGE INTO Postgres !
Please consider becoming a paid subscriber to support this newsletter for just $1.5/week ($6.5/month). Your contribution aids growth and maintains the quality of ShortRuby for everybody:
If you consider upgrading and want more information, please read Why to subscribe to paid.
Reply