-
Behavior-Driven Test Data
When running behavior tests, we seed the database with a defined snapshot called fixpoint. We do run the behavior test and save the resulting database .
-
Querying paginated API endpoints the Rails way
Recently I was working on querying an API that didn’t have a Ruby SDK. So I had the opportunity to write a thin service wrapper for it. This API allowe.
-
Integrating Chargebee subscriptions and recurring billing with a Rails app
When working on a SaaS such as DynaBlogger, one obvious thing you'll need to implement at some point - well, if you want to get paid for it! - is sub.
-
Protecting Your Apps From Link-based Vulnerabilities: Reverse Tabnabbing, Broken-Link Hijacking, and Open Redirects
Links! They're the very fabric of the Web. Browsing simply wouldn't be possible without them. Creating and following links feels so natural that you pr.
-
GitHub Actions | Drifting Ruby
GitHub Actions makes it easy to automate all your software workflows, now with world-class CI/CD. Build, test, and deploy your code right from GitHub. .
-
These Rails apps are overpacking their JavaScript bundles
You might think dividing your JavaScript into multiple bundles will help improve page load performance. When done incorrectly with Webpacker, it's poss.
-
Sinatra v2.1.0
Today we would like to inform you that we have released Sinatra v2.1.0. It’s a big milestore for us and contains some bug fixes and new features....
-
Writing a Ractor-based web server
Ractor, the new concurrency primitive in Ruby, has been merged to the upstream few days ago. I’ve been following that PR and watching the author’s talk.
-
The difference between let, let! and instance variables in RSpec - Code with Jason
First, there’s the stylistic difference. The syntax is of course a little different between the two approaches. Instance variables are of course prefix.
-
Performance-M Dynos Considered Harmful to Your Wallet
When you're on a cloud hosting provider, there are often several options provided for the size and type of server you can rent. For example, AWS has th.