Tutorials



Mastering data structures in Ruby — Circular linked lists
The defining factor for circular linked lists is that they allow us to traverse them infinitely. Since they had no tail, whenever a list reaches its “end” it wraps around and restarts from its head over and over again.Circular lists can be singly ...

Faking Method Inputs with OpenStruct feat. Kerri Miller
During my RubyTapas script review with upcoming guest chef Kerri Miller, we spent some time refactoring a method toward lower complexity. In the process we needed to isolate it from its dependencies, and we used Ruby's OpenStruct library to quickl...

Replace chromedriver-helper with webdrivers (a public service announcement)
As the message suggests, if you need to test JavaScript within the confines of a Rails app, then webdrivers is how you’ll want to manage Selenium drivers. If you’ve purchased my Rails testing book, Everyday Rails Testing with RSpec, you can downlo...

My First Taste of Ruby Task Automation in 22 Lines
The few people who know my code know I'm focused mainly on the front-end: HTML, CSS, JavaScript (sadly), accessibility, and whatever else that bothers my coworkers. Virtually every time I went to a back-end language like Ruby, it was directly or i...


GraphQL with Ruby On Rails: Queries in Multiple Files
In the last episode, we added RSpecs tests for GraphQL mutations. If you need some more insight about the topic you can check the article here. Today we are going to add specs (again, we will focus only on the happy paths) for GraphQL queries. But...

A merkle tree is a data structure used for efficiently summarizing sets of data, often one-time signatures.
A binary tree originally developed to authenticate a large number of public keys with a single value, namely the root of the tree. The merkle root is usually available publicly. Each node in the tree contains a cryptographic hash of node values of...

Official repository for the aws-record gem, an abstraction for Amazon DynamoDB.
Official repository for the aws-record gem, an abstraction for Amazon DynamoDB. - aws/aws-sdk-ruby-recordA data mapping abstraction over the AWS SDK for Ruby's client for Amazon DynamoDB.This library is currently under development. More features w...