- Short Ruby Newsletter
- Posts
- Short Ruby News - Edition #81
Short Ruby News - Edition #81
You can jump directly to a section:
π New Products & π Events
β€οΈ Why Choose Ruby
More content: π π π§ π₯ βπΎ (articles, podcasts, videos, newsletters)
π New Products
π Cody Norman launched Mentorship Opportunities
π Garrett Dimon launched Frictionless Generators
π Ruby Cademy launched a new course about Course: Personal Branding
π Pascal LalibertΓ© launched Everyone Wants Progress
π Deepak Mahakale launched a new Rails Command Generator:
π John Nunemaker (pre)launched FlipperCloud Pro:
π Events
π Sergy announced that Baltic Ruby call for papers is open at PaperCall.io - BalticRuby
π Jeremy Smith shared the form for Ruby on Trails
π Balkan Ruby published their lineup at balkanruby.com
π Madison+ Ruby announced that registration is open at Madison Ruby: Your Ruby Community
π Rails Camp USA announced that registrations are open at west.railscamp.us
π Ruby Uruguay announced their first meetup Ruby Montevideo Meetup - Marzo 2024, miΓ©, 6 mar 2024, 19:00
π Irina Nazarova shared that SF Bay Area Ruby Meetup will take place on March 28:
π Ruby Kaigi announced the Speakers lineup:
π Euruko shared the first speakers for EuRuKo 2024: Steven Backer, Victor Shepelev and Xavier Noria:
π Jason Swett announced the Schedule - Sin City Ruby
π All about Code and Ruby
π Hanami announced a new version of Hanami 2.1: Views that are a sight to see
π Rafael Franca shared his feelings about contributing to open-source:
An apology was given, and Rafael gracefully accepted it.
Eileen M. Uchitelle also shared about fixing security vulnerabilities:
π Ruby On Rails shared that the documentation for ActiveModel is ready for community review at [RF DOCS] Active Model Basics Documentation [ci-skip] by Ridhwana Β· Pull Request #51210 Β· rails/rails
π Stephann V. asked about organizing validations in Active Record model:
π Adam Rice shared a code sample showing how to implement a RAils health check:
π Ruby On Rails shared a tip about normalizes:
π Ben Curtis shared how they are upgrading Rails by starting a new project and moving files from the old one:
πBrandon Weaver asked about getting the inner contents of a block function at runtime and provided a solution for it:
πI shared a command line for using Ripgrep to search Ruby files:
π Joshua shared a code sample running on February 29 and showing differences in date time distances:
π Owais Khan shared about using the class_names helper:
πPeter Solnica asked for feedback on a Ruby code using pattern matching:
Here are some replies from Mastodon and Twitter. But before agreeing or with either the proposed code or the replies, I think it helps to consider that is is so great that we can have this kind of discussion in public. We should appreciate the author asking for feedback and people taking the time to answer. It is a learning opportunity, so agreeing and disagreeing politely would help have more of these conversations:
π Brad Gessler shared a code sample showing a mix of endless method and pattern matching in Ruby:
π Kevin Newton shared a code sample showing how to run flog by using Prism:
π Jeremy Smith shared a blog post from Noel Rappin with a code sample Better Know A Ruby Thing #4: Keyword Arguments
Andy Waite added:
π Benito Serna shared a code sample about keeping in sync page header and title in Rails:
π Justin Searls shared This logger wrapper I wrote:
π Xavier Noria shared about an undocumented and discouraged-to-use feature of Zeitwerk:
π Owais shared gist about finding unnecessary indexes Print redundant indexes in a Rails app.
π Benito Serna shared about building a back link:
π John Nunemaker shared about reducing APM costs:
π Ruby Cademy shared about the presence helper from Rails:
π Benito Serna shared about a helper for confirming a message:
π JRuby Dev Team asked about real-world JRuby app stats about JVM classes loaded:
π Ruby Cademy shared about how Active Record when raising an RecordInvalid will save the record in the error object `record` attribute:
π Janko MarohniΔ shared about a comparison between ActiveRecord and Sequel:
π Jason Swett shared about DRYing a code sample:
π Alexis Bernard shared a code sample from a PR they are working on about Increase complexity logarithmicly to slowdown brute force attacks Β· BaseSecrete/active_hashcash@42a14bc
π JoΓ«l Quenneville shared about code smells:
π Nate Hopkins shared about how to speed out Capybara has_content? matcher:
π Jason Swett shared a tip about RSPec/Factory bot:
π Jason Swett shared Development Services - Code with Jason
π Joel Drapper shared about a prototype they are working on:
πMarco Roth shared about Stimulus LSP:
π Maciej Mensfeld shared a benchmark about running Karafka with 3 independent processes vs Swarm (see Swarm / Multi Process - Karafka framework documentation):
π Jason Swett announced the repository for saturnci: SaturnCI
π John Nunemaker shared a prompt for an Active Record query:
π Andrea Fomera shared Learn Hotwire by Building a Calendar
π Mika Henriksson shared about using Concerns to group functionality and easily replace the service object:
π Scott Watermasysk shared about using devpack - Conveniently tailor your Ruby development environmentConveniently tailor your Ruby development environment
π Matt Swanson shared about using pghero:
π David Heinemeier Hansson shared they are starting to use Neovim with Lazyvim distribution:
π Colleen Schnettler asked about hosting Ruby on Rails apps:
Here are some recommendations:
AWS + hatchbox
VPS + Capistrano
VPS + Dokku
VPS + Coolify
π Dean De Hart shared about tutorials using Windows and teaching Rails:
π Josef Strzibny shared they are working on a new book called Kamal Handbook:
π Joel Drapper shared about choosing SQLite for a new project:
π Justin Marsh shared about learning SQL and thus writing better ActiveRecord queries:
β€οΈ Why Choose Ruby
β€οΈ Maciej Mensfeld shared about giving back to the community:
β€οΈ Devin Mork shared about Ruby syntax
β€οΈ Felipe Vogel shared about how Ruby is easy to pick up:
β€οΈ Postmodern shared about the RubySec community:
β€οΈ Devin Mork shared how Rails has so much back:
β€οΈ Amanda Brooke Perino shared about helping launch RailsGirls Sao Paolo:
β€οΈ Jeremy shared about their progress of building Caley with Rails:
β€οΈ Kevin Menard shared about Prism project:
β€οΈ Adam Rice shared about how coding with Rails feels like native:
β€οΈ Daniel Bergholz shared about using Rails:
β€οΈ Bozhidar Batsov shared their gems were downloaded 1 billion times:
β€οΈ Austin Wasson shared about how building Caley with Rails and Hotwire is amazing:
π§° Gems, Libraries, Tools and Updates
π§°Brooke Kuhlmann announced a new version of Hanamismith with support for Hanami 2.1:
π§° Ruby On Rails shared a PR ready for review about [RF DOCS] Active Record Basics Guide [ci-skip] by bhumi1102 Β· Pull Request #51226 Β· rails/rails made by Bhumi
π§° Chris Oliver shared they were using a PR made by Rosa about Add support for recurring tasks (cron style jobs) by rosa Β· Pull Request #155 Β· basecamp/solid_queue
Rosa added:
π π§° RΓ©my Hannequin announced they released a new gem astronoby - Ruby library based on astrometry books. You can read more about it here
π π§° Genghis Ken Coar announced a new gem rubygem-tagf: TAGF β Text Adventure Game Framework
π π§° Piotr Ch announced a new gem BasedUUID: URL-friendly, Base32-encoded UUIDs for Rails Models (gem homepage)
π π§° Mario Alberto ChΓ‘vez announced a new Ruby on Rails application template rails-app-template
π π§°Julik Tarkhanov published a new gem zip_kit: Compact ZIP file writing/reading for Ruby, for streaming applications
π§° Dmitrii Ivliev announced a new version of sidekiq-rescue: Sidekiq plugin to rescue jobs from expected errors and retry them later
π§°Bozhidar Batsov announced [Fix #12600] Support Prism as a Ruby parser by koic Β· Pull Request #12724 Β· rubocop/rubocop
π§° Bozhidar Batsov announced a new version of Rubocop about Use .config to store your project configs
He also shared:
π§° Samuel Williams announced a new version of async-job-rails-example
π§° Willnet announced a new version of committee-rails v0.8.0γγͺγͺγΌγΉγγΎγγ - γγγγwebγ΅γΌγγΉιηΊζ₯θ¨
π§° Mohammad A. Ali announced a new version of GitHub - oldmoe/roaringlite: Roaring Bitmaps extension for SQLite
π§° Jeremy Evans announced a new version of Sequel 5.78.0 Released Β· jeremyevans sequel Β· Discussion #2138
π§° Joe Masilotti announced a new version of Release v1.0.0-beta2 Β· hotwired/strada-ios
π§° Jose Farias announced a new version of hotwire-combobox
π§° Steve Polito announced a new version of Set `action_mailer.default_url_options` values in `development` and `test` by stevepolitodesign Β· Pull Request #51191 Β· rails/rails
π€ Related (but not Ruby-specific)
π€ Hans Schnedlitz shared their updated Git configuration:
π€ John Carmack shared about coding and AI:
π€ Jason Swett shared about putting data at the top of the test file:
π€ Irina Nazarova shared a long post about running a successful open source based business (open it to read the entire post, I included here just a part of it):
π€ I shared about how to show your work when you think there is nothing to share:
π€ The Pragmatic Engineer shared The end of 0% interest rates: what it means for software engineering practices
π€ Gary Bernhardt shared about how computers work:
π€ Jason Swett shared about code quality:
π€ George Mayer shared about reviewing your diffs:
More content: π π π§ π₯ βπΎ
π Newsletters
π Ruby on Rails published a new edition about Added fixture method and bugfixes
π Hotwire Weekly published a new edition about Week 09 - Turbo Morph Debugging, ChatGPT Hotwire rebuild, and more!
π Women On Rails published a new edition of Newsletter WoR #56: Turbo 8, Silicon Valley is accelerating, a little Rust...
π Ruby Central published a new edition about February 2024 Newsletter
π Andy Croll published a new edition of One Ruby Thing about Validate Email Addresses
π Ruby Weekly published a new edition about Sidekiq, under the hood
π Ruby Libhunt published a new edition about Issue 406 - Hanami 2.1: Views that are a sight to see
π§ Podcasts
π§ Yaroslav Shmarov and Adrian Marin published a new podcast about Meet SQLite Jesus, Steven Memenheim - Friendly Show
π§ Postgres FM published a new episode about Rails + Postgres
π§ The Bike Shed published a new podcast about The Bike Shed: 416: Multi-Dimensional Numbers
π§ The Ruby on Rails Podcast published a new episode about Episode 509: The Future Of Ruby Central with Adarsh Pandit
π§ Lucas Barret published a new podcast about GemRuby Show: Evgeniy Demin, Database Consistency
π§ Ruby Rogues published a new podcast about Revolutionizing Ruby Deployment with Falcon Web Server and Async Concurrency Framework
π§ The Bike Shed published a new episode about 416: Multi-Dimensional Numbers
π½οΈ π₯ Videos
Screencasts
π₯ Drifting Ruby published a new video about Episode 444 - Campfire Bots
π₯ Kasper Timm Hansen published a new video about Riffing on Rails: Lawyer Contract Consolidations and a whole Forum modelling
π₯ Yaroslav Shmarov published a new video about Rails #160 Meta Tags. Open Graph, SEO, social sharing previews
π₯ Jason Swett published a series of videos:
CLI Client Can Now Output an ASCII Table Of Builds Live Coding On Saturn CI
Decoupling the ASCII Table Content From Its Layout Live Coding On Saturn CI
Creating A DSL For Defining ASCII Tables Live Coding On Saturn CI
Limiting The Job List to Only Running Jobs Live Coding On Saturn CI
Obtaining the IP Address of a Job Machine - Live Coding on SaturnCI
π₯ Web Crunch published a new video about Infinite Scroll with Rails and Turbo - No JavaScript
π₯ Drifting Ruby published a new video about Episode 445 - Streaming LLM Responses
π₯ Dean De Hart published a new video about Deploying to Railway, FlyIO, and Render with Rails and continued streaming the work on Linktree clone
βπΎ Articles
Whatβs new π
Rails Foundation published an article about Rails Foundation and Doximity to Sponsor Rails Girls SΓ£o Paulo 2024
David Copeland published an article about Methods Don't Succeed Our Fail: They Have Outcomes
Mike Perham published an article about Serializing Ruby Datatypes In JSON
Siddharth Shringi published an article about Rails 8 Adds Brakeman By Default To New Applications
George Kosmopoulos Sara Jackson published an article about Linear Regression Using Dataframes In Ruby
Mohit Sindhwani published a new article about Ruby Tips 12 - Simplify your code with Ruby Array values_at
Mohammad A. Ali published a new article about Make your SQLite based applications Roaring fast
SmartHR published a new blog post about Do not use ActiveRecord::Base.transaction(joinable: false) (read the original version in JP)
John Nunemaker published an article about Control Metered Costs with Feature Flags
Deep Dives π
Senem Soy published an article about Debugging The Zeitwerk Migration
Akshay Khot published an article about What Does The Frozen String Literal Comment Do In Ruby?
Daniela Baron published an article about Efficient Database Queries in Rails: A Practical Approach
How-TOs π
Jon Lunsford published an article about Refactoring Ruby: Introduce Null Object
William Neal published an article about Markdown in Rails with Phlex and Sitepress
Josh Justice published an article about Running Rails On Aws Elastic Beanstalk
Lucas Stoller published an article about Getting Started with Ruby: A Beginner's Guide to Installation and Basic Programs
MatouΕ‘ BorΓ‘k published an article about Building a syntax highlighting extension for VS Code
David Boureau published an article about The simplest turbo-frame example
Stefan Botzenhart published an article about How I do custom key lookup with Rails I18n
Alkesh Ghorpade published an article about Comprehensive Guide to SimpleCov Gem
Radan Skoric published an article about How to debug issues with Turbo Morphing
Vitalii Elenhaupt published an article about Chartkick and turbo frames - elevating rails visuals
Related
Irina Nazarova and Anton Lovchikov published an article about The Complete Guide To Multi Tenant Saa S, Part 1: Collaboration
Reply