Tutorials



The Complete Guide to Migrate to Strong Parameters
Migrating from Protected Attributes to Strong Parameters in a Rails project can be a huge step of the upgrade process. Especially when we are upgrading a large application. This guide is meant to help you tackle that step faster and with a lot les...


Continuous deployment Ruby application to Minikube with Google's Skaffold
Kubernetes has made it very easy to deploy and scale applications to the cloud than ever. Still, the development process has not evolved at the same speed.Today, most developers try to either run parts of the infrastructure locally with docker or ...

How to use AWS Cloud9 for Ruby on Rails development (Example) | GoRails
Ever wanted an editor and Rails environment you can use anywhere? Cloud9 is the perfect option for this and can run on an EC2 instance in your AWS.AWS Cloud9 is an in-browser text editor you can use for Ruby on Rails development. It installs on a ...

Reverse Coverage: Find which tests execute which lines of code
Occasionally it could be useful to discover how is tested/executed/documented (in the way of tests as Living Documentation) a line (or set of lines) of an application.For example, when you create a part that stands over a product (like a Rails Eng...


MIR: A lightweight JIT compiler project - Red Hat Developer
For the past three years, I’ve been participating in adding just-in-time compilation (JIT) to CRuby. Now, CRuby has the method-based just-in-time compiler (MJIT), which improves performance for non-input/output-bound programs.The most popular appr...

URI.escape is obsolete. Percent-encoding your query string
Ruby 2.7.0 shows a warning when invoking URI.escape or its alias, URI.encode. It might look like a fresh deprecation, but the fact is, these methods have been marked as obsolete for… over 10 years now! If you’re wondering how come you’ve never enc...