- Short Ruby Newsletter
- Posts
- 💻 Short Ruby News - The Code Edition #40
💻 Short Ruby News - The Code Edition #40
Briefly about everything happening in Ruby world - week 17 of 2023
You can jump directly to a section:
For just a small amount of $1.5 per week (only $6.5 a month), you can become a valued paid subscriber and actively support the thriving Ruby community we all love!
👐 Our Community
👐 Friendly.Rb announced an update about the conference and proposed a new sponsorship package Read the full announcement

👐 Ruby Unconf announced their agenda visit 2023.rubyunconf.eu to find out:

👐 Emmanuel Hayford shared a summary of Rails World conference:

👐 Naofumi Kagami shared that rubycentral.org launched membership:


👐 Brandon Weaver announced they would restart the SF Ruby meetups:

👐 Jason Swett announced they would start a couple of online presentations on ChatGPT-assisted-TDD. Register at codewithjason.com/meetup

👐 Koichi Ito announced that rubocop-rails now passed over 100M downloads:

👐 DragonRuby community is organizing a Game Jam:

👉 All about Code and Ruby
👉 Akshay Khot asked a quiz about what is wrong with the following Ruby code:

If you are curious about the answer, Akshay explored this in his article Can you spot the error?
👉 Akshay Khot shared a code sample showing various ways to use case statements in Ruby. He extended this into an article Ruby's Switch Statement is More Flexible Than You Thought

👉 /u/BringTacos asked about how to build a web app in Ruby without any framework:

Here are some of the answers:
Rebuilding Rails book where you learn how to build Rails from scratch
A series of articles from Akshay: Build a Web Application in Ruby Without Rails, Rendering Views Dynamically using ERB, The Definitive Guide to Rack for Rails Developers, Middleware in Rails: What It Is, How It Works, and Examples
RailsConf 2014 - Web Applications with Ruby (not Rails) by David Padilla
And two comments showing in a few lines how to do this:


👉 u/RecycleAt10k asked a question about using the subject in RSpec:

First, I invite you to read the entire post (here, I only screenshot a part). Here are some of the replies:


There is a good discussion, and people are adding very good arguments in both directions.
👉 u/RailsPro asked about what a day looks like as a Rails developer:

There are a lot of replies from solo founders, work-from-home employers, and team leaders.
👉Dave Copeland shared a comment about the first time running a new Rails app test with fixtures when using foreign key constraints:

Brian Kephart replied with some possible solutions:



Here is the paper Stephen linked in their post: Oversharing Is Not Caring: How CNAME Cloaking Can Expose Your Session Cookies he also wrote an article explaining in detail the security risk and various mitigation strategies for Rails: Rails session cookie domain: :all - beware of CNAMEs!
👉Joel Drapper shared a new feature for green_dots test framework:

Joel shared in the thread how he builds the code to achieve:

👉Greg Navis shared a thread about ActionDispatch::Executor

Greg is doing a great job of following what codes do and navigating the Rails code base.
👉Joel Drapper shared a code sample showing how to define conditional classes in Phlex:

👉Mike Dalessio shared their decision process about upgrading Nokogiri:

👉Xavier Noria shared a one-liner to run Rubocop only on the files created or modified:

👉 Vladimir Dementyev shared a diagram for choosing between MRSK and alternatives generated based on the article MRSK: hot deployment tool to watch—or a total game changer?

👉Alexandre Ruban shared a new thread about how to work with Markdown in Rails. You can follow their project on Github at alexandreruban/ruban-on-rails

👉 Greg Navis shared a thread about Rails 7 error handling infrastructure. There are a lot of examples about how it works. Here is one about how to report and error and continue with normal program execution:

👉 Matt Swanson shared a code sample showing how to use ViewComponent with mailers:

👉Ruby Cademy shared a thread about scopes in Ruby:


👉Amir Rajan announced that DragonRuby is free until 6th April 05:00 UTC. Get the toolkit at KIFASS Game Jam

🤞 I imagine that if you have read this so far, you find value in this newsletter.
🧰 Gems, Libraries, and Updates
🧰 View Component announced the release of v.3.0.0 of view_component gem Read the changelog

🧰 Obie Fernandez published a Rails 7 app magma-chat

🧰Andrew Kane announced a new gem Mapkick Static - Create beautiful static maps with one line of Ruby

🧰 Avo announced a new release v 2.31.0. Release notes

🧰 Okura Masafumi announced a new release of alba (JSON serializer) Release notes, and you can check out the changes
🧰 Ryan Bigg announced the release of v.1.13.0 of i18n gem Read the release notes

🧰 Mark Perkins announced that Lookbook v2 is now out of beta:

🧰 Justin Searls announced the release of standard-rails:

🧰 Nejdet Kadir announced their new gem sidekiq-aws-sqs: Sidekiq extension that provides an easy way to poll and process messages from AWS SQS (Simple Queue Service) queues within a Sidekiq worker

🧰 Dima Fatko announced a new gem fast_count: Quickly get a count estimation for large tables (>99% of accuracy for PostgreSQL)

🧰 Xavier Noria announced a new release of Zeitwerk version 2.6.8, read the changelog

🧰 Truffle Ruby announced a new release of truffleruby Read the changelog for 23.0.0-preview1

🧰 Obie Fernandez published a Rails app instant18n: Uses the power of OpenAI's GPT large language AI models to generate translations for your application
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
🤝 Related (but not Ruby-specific)
🤝 Donn Felker shared about the importance of writing good tests:

🤝 Jason Swett shared about how to use ChatGPT more effectively:

You can read The Content Edition if you want to discover the content created in Ruby World in week 17 of 2023:
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