-
Rails 6.1 adds support for PostgreSQL interval data type
PostgreSQL Interval Data Type allows us to store a duration/period of time in years, months, days, hours, minutes, seconds, etc. It also allows us to p.
-
Memoize Expensive Code - Andy Croll
The ||= operator can provide significant performance improvements.Memoization is a performance optimization where the result of a slow or non-performan.
-
How to run tests in parallel in Github Actions
The company I work for has recently switched to Github Actions for CI, as they offer 2000 minutes per month which is quite adequate for our volume. We .
-
Interesting throw/catch behaviour in Ruby | Janko's Blog
When I was working on integrating Rodauth with OmniAuth authentication, I noticed an error warning after upgrading to Rails 6.1, when Rodauth was redir.
-
What week is it anyway? Part 1
Raise your hand if you’ve ever come across a test case failing due to a recent year change. Sounds familiar? Well, here’s my story about a bug that wai.
-
How ActiveRecord Uses Caching To Avoid Unnecessary Trips To The Database
A general way to describe caching is storing the result of some code so that we can quickly retrieve it later. In some cases, this means storing a comp.
-
Designing a Ruby Serverless Runtime
Last week, Google announced the public beta of the Ruby runtime for Cloud Functions, Google’s functions-as-a-service (FaaS) hosting platform. Ruby supp.
-
Using Hanami after a decade building Rails apps
I remember exactly where I was when I first watched DHH's Blog in 15 Minutes video. At the time, I wa... Tagged with hanami, rails, ruby, webdev.I spen.
-
Logidze 1.0: Active Record, Postgres, Rails, and time travel
Logidze is a Ruby library to track Active Record changes: whenever a record is updated in the underlying PostgreSQL database, Logidze stores the differ.
-
Free Ruby on Rails tutorial for Beginners!
I finally did it! I just published a free Ruby on Rails tutorial for Beginners!We cover all the basics and build a Rails app to schedule Tweets. Everyt.