- Short Ruby Newsletter
- Posts
- π» Short Ruby News - The Code Edition #38
π» Short Ruby News - The Code Edition #38
Briefly about everything happening in Ruby world - week 15 of 2023
You can jump directly to a section:
π Our Community
The content section that includes videos, talks, screencasts, podcasts, newsletters, and articles can now be found in The Content Edition (and sent in a separate email).
π Our Community
π Postmodern shared about why Ruby seems to be a good language for writing security tools:
π Ruby On Rails announced they are supporting juniors apply at Attention junior devs: Want to build the Rails World website?
π Jason Swett announced that Code with Jason Meetups are back now with also European timezones Join here at codewithjason.com/meetup
π Unusual-Hat-1617 asked about how to start with DragonRuby
Here is one of the top answers:
π ashawareb asked about the job market:
The replies are split between people receiving many offers and people receiving less.
π igor_kasyanchuk shared a collection of Ruby gems curated at https://opensource-heroes.com/awesome/ruby
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!
By contributing, you'll be playing a pivotal role in fostering growth and maintaining the high standards of ShortRuby for everyone to enjoy.
π All about Code and Ruby
π Avo announced they are launching Avo v3 beta signup
You can checkout the features that might be part of Avo 3 by reading the Roadmap
π Irving Reid shared a code sample about how to make it work:
Sharon Rosner suggested to use binding.local_variable_get and here is how the code might look like:
π Ludovic De Luna asked about what will come in Ruby 3.3
Here are some of the replies to this question:
Noel Rappin shared the link to NEWS - Documentation for Ruby 3.3
Noah Gibbs shared a summary of the biggest changes we know so far:
π Dave Copeland shared they are working on a new short book and that triggered a discussion about OOP:
Here are some replies from that discussion:
πBrandon Weave shared a code sample showing how to configure Capybara for tests: see the gist
πNaofumi Kagam shared about how to think about SRP in context of Ruby mixins (you can also read this conversation on StackExchange β Relationship between inheritance and single responsibility principle)
And proposed a solution about this:
π Nate Berkopec asked about features or improvements for rack-mini-profiler
And among the many replies:
πSimon Chiu shared a tip for precompiling assets without RAILS_MASTER_KEY:
Here are some recommended resources from the thread:
π Jess Brown shared a code sample showing how to compare pairs:
πMartin Spickermann shared a code sample showing how to make methods from mixins available both as class and instance methods:
πNate Berkopec shared about the performance of ActiveRecord:
πMatt Swanson shared a code sample showing a technique to use transaction for creating temporary data for mailer previews:
He mentions that the solution was inspired by a StackOverflow question
πMoses Gathuku shared a tip about how to use non-alphanumeric chars for percent strings:
Checkout the documentation about Percent Literals in Ruby 3.2
π Matt Swanson shared a real code sample showing a workflow implemented in a controller:
π Greg Navis shared a thread about Ruby support for grepping through a collection of items, based on the === method
πBrad Gessler shared a code sample showing how Rails can render a component with Phlex:
πAlexandre Ruban shared thread explaining how security works when broadcasting pieces of HTML with turbo-rails:
π u/dc366 asked about how does the production environment looks like:
The replies include solutions from VPS, Heroku, Capistrano to AWS and GCP solutions.
π honeyryderchuck shared their perspective about types in Ruby in a comment on /r/ruby:
The discussion on /r/ruby is big and touches multiple angles and if you are interested you should read the discussion on the same topic but on /r/programming
π€ I imagine that if you have read so far, you find value in this newsletter.
π§° Gems, Libraries, and Updates
π§° Brooke Kuhlmann announced a new release of v.0.8.0 of Cogger (a customizable logger)
π§° Karl Oscar Weber shared an update about camping (you can read more about Karlβs plans for camping here):
π§° Bozhidar Batso announced that Rubocop passed over 313 million downloads and announced the Release RuboCop 1.50 Β· rubocop/rubocop
π§° Vinicius Stock announced a new release of ruby-lsp v.0.4.4 Read the release notes
π§° LΓ‘zaro Nixon announced they added WebAuthn to authentication-zero gem. Read the commit
π§° Nate Berkopec announced the release of v.3.1.0 for rack-mini-profiler, read the release notes
π§° Dima Fatk announced a new gem sidekiq-expiring-jobs
π§° Jeremy Evans announced a new release v.3.67.0 of roda, read the release notes
π§° Brad Gessler announced a new gem inputomatic: Handy little tools to that turn boring text box inputs into wonderful things.
You can also read the blog post where he shares more about how to use this: Humane Rails Forms
π§° Julian Rubisch announced the release of CableReady v.5.0 Read the release notes. This release introduces Updatable:
π§° Andrew Kane shared that Torch.rb is now powered by LibTorch2
π§° Brad Gessler shared a PR merged to Rails that is about Rewrite Asset Pipeline guide for Rails 7 by zzak
π§° Stefanni Brasil announced a new release v.3.2.0 of faker gem that is now RFC 2606 compliant (RFC 2606 - Reserved Top Level DNS Names) Read release notes
π§° Sinatra announced a new release of version 3.0.6. Read the commit
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)
π€Uncle Bob Martin shared about abstraction:
π€Arvid Kahl invited us to think about mental health:
π€David Walsh asked about development tools for Mac OS:
πSchwad shared a gist about git_revert_dir
You can read The Content Edition if you want to discover the content created in Ruby world in week 15 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