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.
A practical guide to web scraping with Ruby
Happy to see HTTParty make an appearance in this new Ruby web scraping article from Jeffery Morhous!
Git Improved 0.2.0 released
Git Improved is a wrapper command for Git. It is more intuitive and easier to understand than Git commands. For example: [more inside]
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! [more inside]
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. 💚 [more inside]
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. [more inside]
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. [more inside]
Announcing Hanami 2.2.0.beta2
Rounding out our database layer: MySQL, powerful multi-database support, plus full contracts in actions. [more inside]
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. [more inside]
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. [more inside]
Ruby’s hidden gems: Sorbet
Let’s see how Sorbet addresses the challenges of dynamic typing in Ruby: