Tutorials

Testing ActiveRecord associations in the Rails console
When building a new Rails app, you usually get to create several models with all kinds of associations between them (see more in the documentation).The usual steps after creating the app would be as follows:Create the ActiveRecord models.Build the...



Build an API with the Jets Ruby Serverless Framework
In this blog post, I’ll cover how to build a simple API service on AWS Lambda with the Jets Ruby Serverless Framework.Jets New API ModeThe jets new command has a few different modes: html, api, and job. We’ll use the handy api mode for this tutori...






Exploring a critical Net::Protocol issue in Ruby 2.6.0p0 and how it can lead to a security problem
Ruby 2.6.0 has been released not long ago. Not many are unfortunately aware of a major bug that was introduced with these release.This bug can affect you in many ways, some of which you may not even be aware. All may run well up until you decide t...