Tutorials


Elegant Memoization with Ruby’s .tap Method | Alex MacArthur
If you're unfamiliar, the @results instance variable if will only be set if it's falsey. It's a nice way to ensure an expensive operation is performed only when it's needed and never more than once.For one-liners like this, it's straightforward. B...




Rails 7.1 adds support for logging background job enqueue callers - BigBinary Blog
Rails 7.1 has introduced a new option in Active Job that allows us to add support for logging background job enqueue callers. It provides information about the location from where a job was enqueued, which can be immensely helpful during debugging...

Converting HTML to PDF using Rails - DEV Community
Exporting to PDF from HTML can be a bit of a can of worms, especially with CSS not quite working the way it does in a web browser. However with the right setup, it's possible to take the pain out of it!A couple of popular gems to convert HTML to P...

How to Decommission Your Ruby on Rails -- Planet Argon Blog
Our mission at Planet Argon is to fight the big rewrite. There are a few scenarios when we believe a complete rewrite in a new technical stack is a good business decision. Yet, we have helped many organizations migrate from their custom Ruby on Ra...
