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.
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:
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
Practical Guide for Database Scaling: how to use Postgres logical replication
How to scale databases using Postgres Logical Replication to optimize performance, manage read replicas and easily handle intensive loads. [more inside]
Lack of Support/Participation and the Software Engineering Code of Ethics
Some Software Engineers mention ânot being interestedâ as an excuse not to help someone with something that could benefit customers or the Software Engineering community at large (including the Ruby community) when the real reason is in fact covert discrimination against that person and lack of effort to treat them as an equal and equally respected member of their community. Know that Software Engineers have to abide by the Software Engineering Code of Ethics. And, it includes the statements: âSoftware engineers shall act consistently with the public interestâ and âSoftware engineers shall be fair to and supportive of their colleaguesâ. [more inside]
New Calendlyr version released đ Support for all Calendly API calls
Easy and comprehensive rubygem for Calendly. Currently supports API v2. [more inside]