- Short Ruby Newsletter
- Posts
- Short Ruby News - Edition #102
Short Ruby News - Edition #102
Rails 7.2 released a lot of updates about fall conferences, some exciting launches and discounts, inspiring code samples, and good code design discussions.
You can jump directly to a section:
π All about Code and Ruby: π» Code, πCode Design,π‘Around, β€οΈ Why Choose Ruby
π§° Gems, Libraries, and Updates: π New, π§° Updates
π€ Related (but not Ruby-specific)
More content: π π π§ π₯ βπΎ (articles, podcasts, videos, newsletters)
[Partner β¬] friendlyrb.com
I am one of the co-organizers of Friendly.rb Ruby Conference, and I am very enthusiastic about this conference. Read my reasons why you should attend this conference at Why you should Join Friendly.rb in September 2024TLDR: We have a friendly atmosphere and amazing speakers. Enjoy a relaxed schedule, deep dives into Ruby, Rails, and Hanami, and a unique group activity on 20 Sept. Connect with 130 passionate Ruby developers. Register now at friendlyrb.com
π Launches and discounts
π Chris Oliver is working on SellRepo that lets us sell access to Github repos
π Akshay Khot published a book about Rails Router:
π Josh Pigford launched SchemaKit - Automated schema markup
π Nate Berkopec announced the release of the transaction in Japanese of the book Ruby on Rails γγγ©γΌγγ³γΉ γ’γγ―γͺγγ‘
π Andrea Fomera announced a 10% discount for their course about Learn Hotwire by Building a Calendar
π Events
π Events happening this week if you want to attend (source: RubyConferences)
12 August, in UK β London Ruby User Group: August 2024 Meeting
13 August, in USA β YC Ruby Meetup: Ruby & Rails powering YC startups in 2024
13 August, in USA β Boston Ruby Group - August 2024 meeting
13 August, in Canada β Toronto Ruby - Summer of Rails World Edition
13 August, in USA β AustinRB/Austin on Rails - Ruby on AI "The magic Lego"
13 August, in Uruguay β Ruby Montevideo - Meetup August 2024
14 August, in USA β Boulder Ruby Group - Monthly Presentation Night
14 August, in USA/online β Philly.rb - Pubnite - Global/Virtual
14 August, in Germany β Hamburg on Ruby
14 August, in India/online β Ruby Meetup - Week 11
π Rocky Mountain Ruby Conference announced their full agenda Sessions | Rocky Mountain Ruby 2024
π Ruby World Conf En shared that RubyWorld Conference 2024 registration is Now OPEN | RubyWorld Conference 2024
π I shared a thread about why participate in Friendly.rb (and, in general, smaller conferences). Here is just the first part of it, and you can read it full on my blog:
π All about Code and Ruby
π» Code Samples
π» Emmanuel Hayford shares the new update on Rails 8 that updates routing mapper implementation to use keywords instead of hashes
[Sponsor β¬] snappify.com
Snappify is a powerful design tool that enables developers to create stunning presentations and videos. Say goodbye to PowerPoint or Keynote and leverage snappifyβs abilityβs to create technical presentations with various ways to animate your code snippets.Get started with a generous free plan at snappify.com
οΈπ» Matt Swanson shared that rendering turbostream.html.erb template might be a code smell and provided a solution:
π» οΈοΈJeremy Smith presents a way to call Turbo Stream replace with the new morph method
οΈπ» Cayter shared a tip about using Active Record Encryption:
οΈπ» Alazycoder shared a code sample about removing noise with LogStasher:
οΈπ» Axel Kee shared an a tip on TimeZone.new
οΈοΈπ» Ruby Cademy shared a code sample using the highlight method:
οΈπ» Cayter shared a tip on ActiveStorage and Inertia.js
οΈπ» Ahmed Nadar shared a tip on broadcasting asynchronous:
οΈπ» AlemaΓ±o shares how Active Storage lets you specify a folder path when uploading files to a service.
οΈπ» Kevin Vanzandberghe shared a rails active record tip:
Peter Cai adds a warning to the above issue:
οΈπ» Ruby Cademy shared about using the block_format:
π Thinking about Code Design
οΈπ οΈKyrylo Silin shared how to use service objects in rails projects
Here are some of the replies (without going into full mode pro or against service objects):
οΈπ Nate Berkopec asked about a good use case of using array types in DB:
Here are some of the replies (but there are a lot more there):
οΈπ Mike Dalessio shared about running application test suite with all warnings enabled (see Add `-Werror` flag to turn Ruby warnings into errors)
οΈ οΈπ οΈStudy Every Day shared their thoughts about mixing data and code:
Here is Lucianβs take on the same:
οΈπ Kay Rhodes shared about `public` as being a method that should not be overridden:
οΈπ Michael Chaney shared about finding the balance between actions specified by data attributes and actions that are implemented in javascript controllers when using Hotwire:
π‘ Around code (news, findings, books, and more - all about Ruby)
π‘ Jorge Manrubia shared about the next 37Signal libray that will be announced at Rails World, but it remains a secret so far:
π‘ Ruby On Rails announced that Rails v7 guides are now using the new design:
π‘ Ruby On Rails shared two documentation PRs that are waiting community feedback:
π‘ Igor Alexandrov shared about Deprecate defining enums with keywords args by skipkayhil Β· Pull Request #50987:
Rafael França replied that if the code will show deprecation loudly it will not be included in the release notes:
π‘ Kyle Fox asked about the best resources for Ruby on Rails:
Here are some suggestions:
Kasper Timm Hansen and Jeremy Smith - Riffing on Rails videos
Layered Design for Ruby on Rails Applications by Vladimir Dementyev
Upcase courses by Thoughbot
The Rails 7 Way by Obie Fernandez
SupeRails Youtube Channel and SupeRails content by Yaroslav Shmarov
The Rails and Hotwire Codex by Ayush Newatia
Build a Multitenant SaaS Project Management System Using Ruby on Rails and Hotwire by Allan Kamau
GoRails by Chris Oliver
Learn to build Full-Stack Rails apps like an expert by Hrishi Mittal
Ken Greeff YouTube channel
CJ Avilla Youtube channel
And there are a lot more resources shared in reply to that question.
π‘Lucian Ghinda encourages to invest in junior ruby devs
π‘ Robby Russell shared about upgrading Rails:
π‘ Stephen Margheim asked about the best Rails app templates:
Here is a list of the links shared in replies (not all of them are Rails templates in the sense that they cannot be used for rails -m):
β€οΈ Why Choose Ruby and Rails
β€οΈ Mohammad Bagher shared what the discover about Ruby:
β€οΈ Nate Berkopec never misses a chance to compliment the simplicity of rails
β€οΈ PaweΕ DΔ browski quotes one quirky disadvantage of Ruby and Rails
β€οΈ Ajey Gore shared that Rails is still the best framework for CRUD apps:
they later added:
β€οΈ Rafael PeΓ±a Azar shared why they like Rails:
π§° Gems, Libraries, Tools and Updates
π New Gems and Repos
π Joel published a new open-source Rails app - gifrap - Gifrap is a self-hosted repository of animated gifs, and jpgs, etc.
π Elvinas Predkelis announced a new gem phlex-tabler_icons: Tabler Icons tailored for Phlex
π Valentino Stoll announced a new gem podcast-buddy: An AI podcast companion
π sebyx07 published a new gem called ruby2html - Transform your view logic into elegant, semantic HTML with the power of pure Ruby (see also this article on dev.to)
π Matthew Clarkson published a new gem called Bridgetown Related Posts - A Bridgetown plugin that automatically generates and adds related posts to your Bridgetown site using TF-IDF and cosine similarity
π§° Updates
π§° Ruby On Rails announced a new version of Rails 7.2 release candidate 1: Better production defaults, Dev containers, new guides design, and more!
The highlights are:
Samuel Williams added about this version:
π§° Avo announced a new version of v3.11.0 - 142 Pull Requests merged this month π€― Β· Avo
π§° Samuel Williams announced a new Re: Ruby 3.2.4 - Arch-dev-public - lists.archlinux.org
π§° Keygen announced that Keygen is now Fair Source
π§° Karl Oscar Weber announced a new version of Camping - version 3.2.6
π§° Vitaly Slobodin announced a new version of Release v0.0.4 Β· vitallium/intellij-plugin-ruby-lsp
π§° Andrea Rocca announced a new version of their rails template Rails Daisy Solid Template
π§° Peter Solnica shared a thread about an upcoming change to Rails 8 β Add structured logging next to developer logging:
π§° Josh Pigford announced a new version of Release v0.1.0-alpha.14 Β· maybe-finance/maybe
π§° LΓ‘zaro Nixon announced a new Rails PR about Bulk insert fixtures on SQLite by lazaronixon Β· Pull Request #52562 Β· rails/rails
π€ Related (but not Ruby-specific)
π€ Jeremy Smith shared a video about about building their new project: Liminal
π€ Andrea Bosoni shared about development and marketing:
π€ Lucian Ghinda shared a thread about writing good release notes:
π€ Marcel Pociot shared about a Google API to get favicon from any domain:
π€ Privv shared about the possibility to add notes to git commits:
π€ Hussein Nasser shared about avoiding SELECT *
More content: π π π§ π₯ βπΎ
π Charles Oliver Nutter shared their slides about 20 Years of JRuby
π Newsletters
π Any Cable published a new edition about Any Cables Monthly #22: UI kit preview
π Hotwire Weekly published a new edition about Week 32 - CTOs choose Hotwire, Image Upload Preview, and more! β’ Buttondown
π§ Podcasts
π§ Code And The Coding Coders Who Code It published a new podcast about Ruby on Rails + SQLite with Stephen Margheim
π§ Ode To Rails Conf published three new episodes with Chris Oliver Collin Jilbert, Jason Charnes
π½οΈ π₯ Videos
π₯ Yaroslav Shmarov published a new video about SupeRails | #182 Build an OpenGraph image generator
π₯ Rob Whittaker published a new episode abou Resurrecting an Untouched Rails App
π₯ Drifting Ruby published a new video about Processing Large Jobs
π₯ Chris Oliver published a new video about How to Rate Limit Requests in Rails 7.2 (Example) and about How to use Dev Containers with Rails (Example)
π₯ Yaroslav Shmarov published a new video about SupeRails | #182 Build an OpenGraph image generator
π₯ Adam Mc Crea published a new video about How I Built It: Calendar UI with Turbo Frames, Tailwind, and Alpine.js
π₯ Josh Pigford published a new video about Coding with Cursor: Session 1
π₯ Graceful.Dev published a new video about Ruby: #fetch for defaults
π₯ Lukasz Reszke published a new video about Get rid of primitive obsession. Introduce value objects
βπΎ Articles
Whatβs new π
π Chad Pytel published an article about Ruby on Rails is great for AI
π Kelly Gebo published an article about Why CTOs are choosing Hotwire and Ruby on Rails
π Blazej published an article about From Real Estate to Ruby - Why I Chose Ruby on Rails
π Miles published a new article about Rails is 20
π Kasper Timm Hansen published a new article about My take on Refactoring Railsβs initializers
π John Vester published an article about Buh-Bye Webpack and Node.js, Hello Rails and Import Maps - DEV Community
π Justin Toniazzo published an article about Supercharge your Rails logs with tags
π Justin Searls published an article about What one must pass to includes() to include Active Storage attachments
π Jaimy Simon published an article about Rails 8 introduces a basic authentication generator - BigBinary Blog
π Josef Strzibny published a new article about Introduction to Minitest Mocks
π Michael Keene published an article about The Strangest Ruby Syntax: PatternMatching
π Julian Rubisch published a new article about Betterstimulus | Dependency Inversion Principle
π Krzysztof Kamil published an article about The Business Value of Refactoring and Testing
π Haseeb Annadamban published a new article about Understanding The Output of EXPLAIN Command As a Rails Developer
How-TOs π
π Max Braga published an article about Migrating ActiveJob to Sidekiq Job: Why and How
π Kyrylo Silin published a new article about How to add Mission Control to your Rails app and protect it with Basic Auth
π Guillaume published an article about How I use OpenAI to translate my Rails application into multiple languages
π Martin Streicher published an article about An Introduction to Nix for Ruby Developers
π Owais published a new article about Formatting and Linting ERB files with Zed on save
Reply