Tutorials

Introducing Skunk: Combine Code Quality and Coverage to Calculate a Stink Score
Two weeks ago I had the opportunity to speak at Solidus Conf 2019. I presented Escaping the Tar Pit for the first time and I got to talk about a few metrics that we can use to quickly assess code quality in any Ruby project.In this article I'd lik...


Persisted queries in GraphQL: Slim down Apollo requests to your Ruby application
Learn how to reduce the size of network requests from the Apollo client in the front-end to the GraphQL Ruby back-end with the help of persisted queries. In this article, we will show how these queries work and set them up both on a client and a s...





Using bind parameters in Active Record for SQL security and performance
Bind parameters are a way to pass values into the SQL statement without embedding the values into the SQL as literals. The values are provided to the SQL statement through parametrization or using a separate API call.There are two benefits of usin...

Taming Large Rails Applications with Private ActiveRecord Models
A new ActiveRecord instance has 373 public methods.Scaling a Rails application is difficult, but not for the reasons you might expect. The framework does well at horizontally scaling for many businesses, especially small data businesses. But small...