News

Asynchronous Background Processing for Ruby or Rails using AWS Lambda Extensions
Ever since writing this post last year on Using New Relic APM with Rails on AWS Lambda, I have always wanted to find a way to send APM data in a way that did not add extra milliseconds to the application's response times. Likewise, for smaller pro...




Google-like letter avatars using ERB-generated SVGs - kukicola.io
Creating user avatars is a pretty simple thing. Gems like avatarly or letter_avatar can generate PNG images with user initials. This time I would like to show you a different approach - SVG generated by the standard ruby ERB template engine.

GitHub Workflow for Automated Gem Releases - YouTube
- Commits from the video: https://github.com/tomdalling/byebug-...- The "Release Gem" GitHub workflow: https://github.com/tomdalling/byebug-...- Config for standard-version, which is what bumps the version and updates the changelog using the commi...

Custom "cops" for RuboCop: an emergency service for your Ruby code
It is hard to find a Ruby developer who never heard of RuboCop. In all the recent Evil Martians projects, RuboCop is included in the CI pipeline from the early days. However, sometimes it may be helpful to write more rules manually and to enforce ...

RailsConf 2021 -- Implicit to Explicit: Decoding Ruby's Magical Syntax | Shakacode
Does a Rails model or config file seem like a magical syntax? Or can you read any Ruby code and understand it as the interpreter does?Ruby's implicitness makes it great for readability and DSLs. But that also gives Ruby a "magical" syntax compared...

How to auto-document the database schema of your Rails app
RailsConf Recap (4 Part Series)1We need a better way to communicate and explain our code decisions2How to auto-document the end-to-end code and data flows of your Rails app3How to auto-generate detailed Swagger/OpenAPI for all your Rails routes4Ho...

Understanding blank?, present?, empty?, any?, and nil? in Ruby (and Rails)
In Ruby on Rails, there are several methods available for checking the state of an object.The most common ones include:blank?present?empty?any?nil?It can be pretty confusing to know which method to use and when. For instance, blank? and empty? sou...