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.
Leveraging Turbo 8: Best Additions to Implement in Rails 8 Projects
This article will explore Turbo 8’s powerful features and a little bit of code. I swear, you will be surprised by how little extra code is needed to implement all of this! Read more
Migrating from Devise to Rails Auth before you can say "Rails World keynote"
Miha already migrated his project from Devise to the brand new Rails Authentication released with Rails 8 beta. He actually did it all by Saturday, in just 2 days, including the guest post to publish on my blog. I was just slow on my part but it’s here now, with all the details of the migration: Migrating from Devise to Rails Auth before you can say “Rails World keynote”
How to Effectively Use Rubocop Ignore Comments in Your Code
How to Effectively Use Rubocop Ignore Comments in Your Code
Upgrading and Deploying with Kamal 2.0 Experience
Upgraded Drifting Ruby to deploy with Kamal 2.0. It did have some hiccups that caused a little bit of down time. You can read about what happened here . I talk about the upgrade process from 1.9 to 2.0 as well.
Testing ActiveRecord Models with RSpec
Testing ActiveRecord Models with RSpec
Organize your Rails codebase with aaa engines
Less clutter, more joy: one mini-app per feature with aaa engines. 💚 Read more
Introducing Check-ins for Scheduled Job and Continuous Process Monitoring
See how AppSignal Check-ins make it easy to monitor your Ruby app’s scheduled jobs and continuous processes. Read more
Scaling Rails: setup multiple databases with Postgres Logical Replication
It’s easy but has some gotchas due to Rails metadata tables creating conflicts while trying to sync data across databases. Read more
Announcing Hanami 2.2.0.beta2
Rounding out our database layer: MySQL, powerful multi-database support, plus full contracts in actions. Read more
Terminal–based game in 150 lines
I wrote a terminal dungeon crawler game with pure Ruby in less than 150 lines. Here’s a guide
Gilded Rose Kata and the value of explicit requirements in the code
Doing the Gilded Rose Kata refactoring while keeping the requirements wording very explicit in the Ruby code: Gilded Rose Kata and the value of explicit requirements in the code. An exercise in Ruby expressiveness as a benefit for maintenance.
Rails on Docker: Build Secrets for Yarn with 1Password
A quick tutorial on using Docker Build secrets for authentication when using private yarn/npm packages (and gems) in GitHub, and using the 1Password to manage tokens / keys.
Kamal new proxy
Here’s a post on Kamal Proxy replacing Traefik. What, why, how.
Adding your Rails app to the Home Screen - the Ultimate Guide
Rails 8 will support Progressive Web Apps (PWA) out-of-the-box but you have all the tools you need to make your Rails app installable today. This post goes in-depth to show you how. Read more
The Decide, Evolve, React pattern in Ruby
This article describes the Decide, Evolve, React pattern with Ruby examples, for a cohesive approach to audit trails and event-driven apps. Read more
Ruby’s hidden gems: Sorbet
Let’s see how Sorbet addresses the challenges of dynamic typing in Ruby:
Generate a Rails 8 app with Nextgen
Nextgen, my interactive Rails app generator, now supports Rails 8! Use Nextgen to fine-tune your rails new experience by selecting just the gems and frameworks you need. A version selector lets you choose between Rails 7.2, the 7-2-stable branch (edge), or Rails 8 alpha via the main branch. And a robust Vite option is also available for projects that need a modern Node-based frontend build system with fast hot-reloading. https://github.com/mattbrictson/nextgen/releases/tag/v0.24.0