The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Rubber Duck Dev Show Episode 58 | Engineering vs. Product Managers w/ Brittany & Josh
In this episode, we discuss the different viewpoints and objectives for engineering managers vs. product managers with Brittany Martin & Josh Gaastra: https://www.rubberduckdevshow.com/episodes/58-engineering-vs-product-managers-with-brittany-martin-josh-gaastra/
Ruby group_by or Rails group_by
The goal of this article is to understand the group_by method from a theoretical and practical point of view, both for Ruby, and Rails. [READ MORE]
Glimmer DSL for SWT Video Tutorial 33 - Tetris
Desktop development is about 10 times simpler than web development. Learn it and you will become a better web developer as you transfer the simplicity of desktop development to the web! [more inside]
Automation script for spinning-up Ruby developer environment on Ubuntu
New version of FRS script. Configure your developer stuff on Linux Ubuntu in minutes 🚀 Focus on development, not on developer tools! https://github.com/RubyWorkout/frs
How to fix Ruby installation issues on macOS 12.6
If you recently updated your Mac to macOS 12.6, you might run into Ruby installation or other development issues. I wrote a detailed blog post going over various solutions: https://www.rubyonmac.dev/how-to-install-ruby-on-macos-12-6-apple-silicon/
Transitioning from Monolith to Microservices Handbook
Organizations are moving into the microservice paradigm. Plagued with perils, it’s not an easy journey. Learn how to break up your monolith into microservices in this 70+ page ebook. Download it for free today. [more inside]
Build a Rails script watcher/runner using fswatch
Automate your rails console by creating a runme.rb script that runs in the Rails runner on change. [more inside]
Become an Elite Team With Dora Metrics
Tradeoff between speed and quality is a myth: https://semaphoreci.com/blog/dora-metrics](https://semaphoreci.com/blog/dora-metrics
A Quick and Easy Guide to the Asset Pipeline in Rails 7
With the release of Rails 7, the asset pipeline has seen somewhat of a dramatic improvement. What used to be a choice between Sprockets and Webpack has now become a brain-twister. [more inside]
Optimizing Email Batch API with bulk inserts
How we optimized our Email Batch API by using Rails bulk inserts with MySQL and how to calculate the auto-incrementing IDs for records, given MySQL does not support a RETURNING clause. [more inside]
Hanami Upgrade 1 -> 2 - Part 1: Migrations
Hanami 2 is behind the corner, so we started putting effort into upgrading our projects. It’s not easy, but doable and we decided to share our findings for others to have an easier time. Check it out, the next steps coming! [more inside]
Rails faker gem overview
The faker gem for Rails is here to help your test database to be seeded with real-looking test data. Let’s see how. [more inside]
RubyConf 2022 Talk Accepted - Building Native GUI Apps in Ruby
My talk proposal for RubyConf 2022 (Houston, TX, USA / Nov 29 - Dec 1) titled “Building Native GUI Apps in Ruby” has been accepted! [more inside]
Rails Remote Conf 2022 Talk Accepted - Ultra Light Wizard
My talk proposal for Rails Remote Conf 2022 (Feb 6-10, 2023) titled “Ultra Light Wizard” has been accepted! Ultra Light Wizard is an approach for building multi-step forms in Rails. [more inside]
Glimmer DSL for SWT Video Tutorial 32 - Klondike Solitaire
Desktop development is about 10 times simpler than web development. Learn it and you will become a better web developer as you transfer the simplicity of desktop development to the web! [more inside]
The what, the why, and the how of Bloom Filters
Have you ever wondered how does Medium recommend blogs to read or how does a platform with millions of users tells if a username is available or taken? If yes, you have come to the right place, as we are going to look at the data structure that makes this and a lot more happen. The data structure is Bloom Filter. [more inside]
Trip v5.0.0 - now using Fiber.
trip.rb is a concurrent tracer that can pause and resume the code it is tracing. The new major version is notable because it moves away from threads to using fibers instead, and that will hopefully prove more reliable than the previous threaded implementation.
Autoloading pitfalls fixed by Rails 7’s default Zeitwerk mode
Rails 7 onward Zeitwerk mode completely replaces classic autoloader thereby resolving the flaws of classic autoloader. If you’d like to see some examples related to this, please check out this blog. [more inside]
Tobox: a transactional outbox framework
The first version of tobox (v0.1.0) has been released. [more inside]